diff options
Diffstat (limited to 'cipher/md.c')
-rw-r--r-- | cipher/md.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cipher/md.c b/cipher/md.c index bb179b679..480954a67 100644 --- a/cipher/md.c +++ b/cipher/md.c @@ -326,7 +326,7 @@ md_enable( GCRY_MD_HD hd, int algo ) - sizeof(r->context) ) : g10_malloc( sizeof *ac + r->contextsize - sizeof(r->context) ); - if( !rc ) + if( !ac ) return set_lasterr( GCRYERR_NO_MEM ); *ac = *r; |