Add missing functions to allow access to newer X509_STORE_CTX status
[openssl.git] / demos / x509 / mkreq.c
index 3dfc65f16435f7056af02f4f00c473028f1593a0..d17e4ade943128c4eb812a41737c290b6963b9d0 100644 (file)
@@ -134,7 +134,7 @@ int mkreq(X509_REQ **req, EVP_PKEY **pkeyp, int bits, int serial, int days)
 
 #endif
        
-       if (!X509_REQ_sign(x,pk,EVP_md5()))
+       if (!X509_REQ_sign(x,pk,EVP_sha1()))
                goto err;
 
        *req=x;