only cleanup ctx if we need to, save ctx flags when we do
[openssl.git] / crypto / evp / evp_locl.h
index 53308446e95d155843f91325662bb360162429a3..08c0a66d39c79c60107f0315d463841aeb59d1cc 100644 (file)
@@ -352,6 +352,7 @@ int PKCS5_v2_PBKDF2_keyivgen(EVP_CIPHER_CTX *ctx, const char *pass, int passlen,
 
 #ifdef OPENSSL_DOING_MAKEDEPEND
 #undef SHA1_Init
+#undef SHA1_Update
 #undef SHA224_Init
 #undef SHA256_Init
 #undef SHA384_Init