示例#1
0
文件: t-protect.c 项目: gpg/gnupg
int
main (int argc, char **argv)
{
    (void)argc;
    (void)argv;

    gcry_control (GCRYCTL_DISABLE_SECMEM);

    test_agent_protect ();
    test_agent_unprotect ();
    test_agent_private_key_type ();
    test_make_shadow_info ();
    test_agent_shadow_key ();
    test_agent_get_shadow_info ();
    test_agent_protect_shared_secret ();

    return 0;
}
示例#2
0
int
main (int argc, char **argv)
{
  (void)argv;

  opt.verbose = argc - 1;       /* We can do "./t-protect -v -v" */
  gcry_control (GCRYCTL_DISABLE_SECMEM);

  test_agent_protect ();
  test_agent_unprotect ();
  test_agent_private_key_type ();
  test_make_shadow_info ();
  test_agent_shadow_key ();
  test_agent_get_shadow_info ();
  test_agent_protect_shared_secret ();

  return 0;
}