Add missing functions to allow access to newer X509_STORE_CTX status
[openssl.git] / demos / x509 / mkcert.c
index c5e67b8e28e47dde3249d6964daacc82063ea480..6a52e5d0fc4af087e480e3683085d08af8f23e2a 100644 (file)
@@ -136,7 +136,7 @@ int mkcert(X509 **x509p, EVP_PKEY **pkeyp, int bits, int serial, int days)
        }
 #endif
        
-       if (!X509_sign(x,pk,EVP_md5()))
+       if (!X509_sign(x,pk,EVP_sha1()))
                goto err;
 
        *x509p=x;