diff options
Diffstat (limited to 'src/lib/libcrypto/md4/md4_one.c')
| -rw-r--r-- | src/lib/libcrypto/md4/md4_one.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/md4/md4_one.c b/src/lib/libcrypto/md4/md4_one.c index 87a995d38d..00565507e4 100644 --- a/src/lib/libcrypto/md4/md4_one.c +++ b/src/lib/libcrypto/md4/md4_one.c | |||
| @@ -59,6 +59,7 @@ | |||
| 59 | #include <stdio.h> | 59 | #include <stdio.h> |
| 60 | #include <string.h> | 60 | #include <string.h> |
| 61 | #include <openssl/md4.h> | 61 | #include <openssl/md4.h> |
| 62 | #include <openssl/crypto.h> | ||
| 62 | 63 | ||
| 63 | #ifdef CHARSET_EBCDIC | 64 | #ifdef CHARSET_EBCDIC |
| 64 | #include <openssl/ebcdic.h> | 65 | #include <openssl/ebcdic.h> |
| @@ -89,7 +90,7 @@ unsigned char *MD4(const unsigned char *d, unsigned long n, unsigned char *md) | |||
| 89 | } | 90 | } |
| 90 | #endif | 91 | #endif |
| 91 | MD4_Final(md,&c); | 92 | MD4_Final(md,&c); |
| 92 | memset(&c,0,sizeof(c)); /* security consideration */ | 93 | OPENSSL_cleanse(&c,sizeof(c)); /* security consideration */ |
| 93 | return(md); | 94 | return(md); |
| 94 | } | 95 | } |
| 95 | 96 | ||
