diff options
author | Werner Koch <[email protected]> | 2001-11-16 17:56:23 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2001-11-16 17:56:23 +0000 |
commit | 0f26760d9f550fd9aaa7d0c4f18f8571b7818142 (patch) | |
tree | f4c3c0756bdd5df1a9c370947c269fdd997542bb /sm/gpgsm.c | |
parent | We have reached a state where we are able to import certs and (diff) | |
download | gnupg-0f26760d9f550fd9aaa7d0c4f18f8571b7818142.tar.gz gnupg-0f26760d9f550fd9aaa7d0c4f18f8571b7818142.zip |
Base code for gpgsm --verify does work
Diffstat (limited to '')
-rw-r--r-- | sm/gpgsm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sm/gpgsm.c b/sm/gpgsm.c index 39db2433e..53b8dcd01 100644 --- a/sm/gpgsm.c +++ b/sm/gpgsm.c @@ -912,6 +912,7 @@ main ( int argc, char **argv) break; case aVerify: + gpgsm_verify (0); /* if ((rc = verify_signatures( argc, argv ) )) */ /* log_error ("verify signatures failed: %s\n", gpg_errstr(rc) ); */ break; @@ -1023,6 +1024,8 @@ gpgsm_exit (int rc) #warning no update_random_seed_file update_random_seed_file(); #endif +#if 0 + /* at this time a bit annoying */ if (opt.debug & DBG_MEMSTAT_VALUE) { gcry_control( GCRYCTL_DUMP_MEMORY_STATS ); @@ -1030,6 +1033,7 @@ gpgsm_exit (int rc) } if (opt.debug) gcry_control (GCRYCTL_DUMP_SECMEM_STATS ); +#endif gcry_control (GCRYCTL_TERM_SECMEM ); rc = rc? rc : log_get_errorcount(0)? 2 : gpgsm_errors_seen? 1 : 0; exit (rc); |