summaryrefslogtreecommitdiff
path: root/crypto/apr_md4.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/apr_md4.c')
-rw-r--r--crypto/apr_md4.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/crypto/apr_md4.c b/crypto/apr_md4.c
index 22a0926e7..aef0a3404 100644
--- a/crypto/apr_md4.c
+++ b/crypto/apr_md4.c
@@ -41,7 +41,6 @@
#include "apr_strings.h"
#include "apr_md4.h"
#include "apr_lib.h"
-#include "apr_crypto.h" /* for apr_crypto_memzero, if available */
#if APR_HAVE_STRING_H
#include <string.h>
@@ -360,11 +359,7 @@ static void MD4Transform(apr_uint32_t state[4], const unsigned char block[64])
state[3] += d;
/* Zeroize sensitive information. */
-#if APU_HAVE_CRYPTO
- apr_crypto_memzero(x, sizeof(x));
-#else
- memset(x, 0, sizeof(x));
-#endif
+ apr_memzero_explicit(x, sizeof(x));
}
/* Encodes input (apr_uint32_t) into output (unsigned char). Assumes len is