projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Wrap the inclusion of openssl/engine.h with a protective check for
[oweals/openssl.git]
/
crypto
/
md2
/
md2_one.c
diff --git
a/crypto/md2/md2_one.c
b/crypto/md2/md2_one.c
index dab35071acd2dec09d66e9be2c663810cacb6a18..f7fef5cc0a739fc57a899a3e464edcce2f46ccc3 100644
(file)
--- a/
crypto/md2/md2_one.c
+++ b/
crypto/md2/md2_one.c
@@
-69,7
+69,8
@@
unsigned char *MD2(const unsigned char *d, size_t n, unsigned char *md)
static unsigned char m[MD2_DIGEST_LENGTH];
if (md == NULL) md=m;
- MD2_Init(&c);
+ if (!MD2_Init(&c))
+ return NULL;
#ifndef CHARSET_EBCDIC
MD2_Update(&c,d,n);
#else