projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3db3d1
)
The SSL_CTX's cert structure is not relevant for the SSL
author
Bodo Möller
<bodo@openssl.org>
Mon, 2 Aug 1999 18:40:36 +0000
(18:40 +0000)
committer
Bodo Möller
<bodo@openssl.org>
Mon, 2 Aug 1999 18:40:36 +0000
(18:40 +0000)
(because now SSL_new makes a copy).
ssl/ssl_lib.c
patch
|
blob
|
history
diff --git
a/ssl/ssl_lib.c
b/ssl/ssl_lib.c
index 365b3ce0e43b74e7ae4bd85186b2fe1cc81b739b..0b30ccf9183860d17d367c832bbfbd99d34137cb 100644
(file)
--- a/
ssl/ssl_lib.c
+++ b/
ssl/ssl_lib.c
@@
-575,8
+575,6
@@
int SSL_check_private_key(SSL *ssl)
SSLerr(SSL_F_SSL_CHECK_PRIVATE_KEY,ERR_R_PASSED_NULL_PARAMETER);
return(0);
}
- if (ssl->cert == NULL)
- return(SSL_CTX_check_private_key(ssl->ctx));
if (ssl->cert->key->x509 == NULL)
{
SSLerr(SSL_F_SSL_CHECK_PRIVATE_KEY,SSL_R_NO_CERTIFICATE_ASSIGNED);