summaryrefslogtreecommitdiffstats
path: root/g10/cipher.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1999-12-08 22:03:03 +0100
committerWerner Koch <wk@gnupg.org>1999-12-08 22:03:03 +0100
commit4555c0be941cef55486b7a1644d9b70f4ea50c77 (patch)
tree1a10627bf31163f9aef5040724c53f75e8daf3e6 /g10/cipher.c
parentSee ChangeLog: Fri Nov 19 17:15:20 CET 1999 Werner Koch (diff)
downloadgnupg2-4555c0be941cef55486b7a1644d9b70f4ea50c77.tar.xz
gnupg2-4555c0be941cef55486b7a1644d9b70f4ea50c77.zip
See ChangeLog: Wed Dec 8 21:58:32 CET 1999 Werner Koch
Diffstat (limited to 'g10/cipher.c')
-rw-r--r--g10/cipher.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/cipher.c b/g10/cipher.c
index 162bbc35f..ef4c86502 100644
--- a/g10/cipher.c
+++ b/g10/cipher.c
@@ -54,8 +54,8 @@ write_header( cipher_filter_context_t *cfx, IOBUF a )
ed.len = cfx->datalen;
ed.new_ctb = !ed.len && !opt.rfc1991;
if( use_mdc ) {
- ed.mdc_method = DIGEST_ALGO_SHA1;
- cfx->mdc_hash = gcry_md_open( DIGEST_ALGO_SHA1, 0 );
+ ed.mdc_method = GCRY_MD_SHA1;
+ cfx->mdc_hash = gcry_md_open( GCRY_MD_SHA1, 0 );
/*should we check the function works, or is it better to provide
a flag which makes the function die itself ?? FIXME */
/*md_start_debug( cfx->mdc_hash, "mdccreat" );*/