Put the cipher info back into the "openssl engine" command.
[openssl.git] / ssl / ssl_cert.c
index fcd6ff90b6f48487c0d9448596daeec0bd29ca11..6895f6216653f0325d4475af0cfc82e32d1555e0 100644 (file)
@@ -190,7 +190,7 @@ CERT *ssl_cert_dup(CERT *cert)
 #ifndef OPENSSL_NO_RSA
        if (cert->rsa_tmp != NULL)
                {
-               RSA_up(cert->rsa_tmp);
+               RSA_up_ref(cert->rsa_tmp);
                ret->rsa_tmp = cert->rsa_tmp;
                }
        ret->rsa_tmp_cb = cert->rsa_tmp_cb;