diff options
author | Werner Koch <wk@gnupg.org> | 1999-12-31 12:44:29 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 1999-12-31 12:44:29 +0100 |
commit | ed0b0e09d3eb529dc83fab4f24d4fc3abe649bd2 (patch) | |
tree | acdf31e4ef6ec6940169de6bd2a557451b8b73f9 /g10/sig-check.c | |
parent | See ChangeLog: Thu Dec 9 17:22:27 CET 1999 Werner Koch (diff) | |
download | gnupg2-ed0b0e09d3eb529dc83fab4f24d4fc3abe649bd2.tar.xz gnupg2-ed0b0e09d3eb529dc83fab4f24d4fc3abe649bd2.zip |
See ChangeLog: Fri Dec 31 12:48:31 CET 1999 Werner Koch
Diffstat (limited to 'g10/sig-check.c')
-rw-r--r-- | g10/sig-check.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/sig-check.c b/g10/sig-check.c index 4fbf0808c..842055d17 100644 --- a/g10/sig-check.c +++ b/g10/sig-check.c @@ -105,7 +105,7 @@ pk_verify( int algo, MPI hash, MPI *data, MPI *pkey, NULL )); } else if( algo == GCRY_PK_RSA ) { - s_sig = SEXP_CONS( SEXP_NEW( "public-key", 10 ), + s_sig = SEXP_CONS( SEXP_NEW( "sig-val", 0 ), gcry_sexp_vlist( SEXP_NEW( "rsa", 3 ), gcry_sexp_new_name_mpi( "s", data[0] ), NULL )); @@ -167,7 +167,7 @@ do_signature_check( PKT_signature *sig, GCRY_MD_HD digest, u32 *r_expire ) int i, nsig = pubkey_get_nsig( sig->pubkey_algo ); byte *p, *buffer; - if( !(md = gcry_md_open( DIGEST_ALGO_RMD160, 0)) ) + if( !(md = gcry_md_open( GCRY_MD_RMD160, 0)) ) BUG(); gcry_md_putc( digest, sig->pubkey_algo ); gcry_md_putc( digest, sig->digest_algo ); |