Move signing digest out of CERT.

Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
Dr. Stephen Henson
2015-05-12 18:56:39 +01:00
parent 76106e60a8
commit d376e57d68
6 changed files with 45 additions and 49 deletions

View File

@@ -2269,7 +2269,7 @@ EVP_PKEY *ssl_get_sign_pkey(SSL *s, const SSL_CIPHER *cipher,
return (NULL);
}
if (pmd)
*pmd = c->pkeys[idx].digest;
*pmd = s->s3->tmp.md[idx];
return c->pkeys[idx].privatekey;
}