diff options
Diffstat (limited to 'crypto/md4/md4_one.c')
-rw-r--r-- | crypto/md4/md4_one.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/md4/md4_one.c b/crypto/md4/md4_one.c index 64601b62df..bb64362638 100644 --- a/crypto/md4/md4_one.c +++ b/crypto/md4/md4_one.c @@ -71,7 +71,8 @@ unsigned char *MD4(const unsigned char *d, size_t n, unsigned char *md) static unsigned char m[MD4_DIGEST_LENGTH]; if (md == NULL) md=m; - MD4_Init(&c); + if (!MD4_Init(&c)) + return NULL; #ifndef CHARSET_EBCDIC MD4_Update(&c,d,n); #else |