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:
f3e67ac
)
generate error message
author
Bodo Möller
<bodo@openssl.org>
Mon, 2 Aug 1999 21:41:46 +0000
(21:41 +0000)
committer
Bodo Möller
<bodo@openssl.org>
Mon, 2 Aug 1999 21:41:46 +0000
(21:41 +0000)
ssl/ssl_lib.c
patch
|
blob
|
history
diff --git
a/ssl/ssl_lib.c
b/ssl/ssl_lib.c
index 72b7e3aa4e2af3cc153be0d0d8f4e49d1178eeda..e8b1f7476939c40e9f0177c1b79e143ca14fe010 100644
(file)
--- a/
ssl/ssl_lib.c
+++ b/
ssl/ssl_lib.c
@@
-576,7
+576,10
@@
int SSL_check_private_key(SSL *ssl)
return(0);
}
if (ssl->cert == NULL)
+ {
+ SSLerr(SSL_F_SSL_CHECK_PRIVATE_KEY,SSL_R_NO_CERTIFICATE_ASSIGNED);
return 0;
+ }
if (ssl->cert->key->x509 == NULL)
{
SSLerr(SSL_F_SSL_CHECK_PRIVATE_KEY,SSL_R_NO_CERTIFICATE_ASSIGNED);