Retain compatibility of EVP_DigestInit() and EVP_DigestFinal()
[openssl.git] / crypto / pem / pem_sign.c
index 42d598dd78c316edba930e5f40fbf97c4a5ef50e..c3b9808cb20475016329bf3578b74be8bc156afe 100644 (file)
@@ -66,7 +66,7 @@
 
 void PEM_SignInit(EVP_MD_CTX *ctx, EVP_MD *type)
        {
-       EVP_DigestInit(ctx,type);
+       EVP_DigestInit_ex(ctx, type, NULL);
        }
 
 void PEM_SignUpdate(EVP_MD_CTX *ctx, unsigned char *data,