diff options
author | Bodo Möller <bodo@openssl.org> | 1999-05-10 15:10:11 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 1999-05-10 15:10:11 +0000 |
commit | 1c3e0a197658ebb60783ed4db8d14234c0a5657b (patch) | |
tree | 125ac52dbe5b24d2dbf71df93b350812ba4ff372 | |
parent | 84a370a4002740d8311e5c6950071dfff436395b (diff) |
Changed a comment.
Submitted by:
Reviewed by:
PR:
-rw-r--r-- | ssl/ssl_cert.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ssl/ssl_cert.c b/ssl/ssl_cert.c index 0d1c570113..9bfa3ecf2e 100644 --- a/ssl/ssl_cert.c +++ b/ssl/ssl_cert.c @@ -328,8 +328,12 @@ int ssl_cert_inst(CERT **o) * (which cannot really happen, as it is initially created in * SSL_CTX_new; but the earlier code usually allows for that one * being non-existant, so we follow that behaviour, as it might - * turn out that there actually is a reason for it.). */ - + * turn out that there actually is a reason for it -- but I'm + * not sure that *all* of the existing code could cope with + * s->cert being NULL, otherwise we could do without the + * initialization in SSL_CTX_new). + */ + if (o == NULL) { SSLerr(SSL_F_SSL_CERT_INST, ERR_R_PASSED_NULL_PARAMETER); |