aboutsummaryrefslogtreecommitdiff
path: root/ssl/ssl_rsa.c
diff options
context:
space:
mode:
authorLutz Jänicke <jaenicke@openssl.org>2008-05-26 06:21:13 +0000
committerLutz Jänicke <jaenicke@openssl.org>2008-05-26 06:21:13 +0000
commit17a4a4dff846def98532dd3a90384e0af1bebe23 (patch)
tree4419e4361dd5770dbecd77e458ff217d42551501 /ssl/ssl_rsa.c
parentc2c2e7a438bf2876fc780cc1072941ab75769d57 (diff)
downloadopenssl-17a4a4dff846def98532dd3a90384e0af1bebe23.zip
openssl-17a4a4dff846def98532dd3a90384e0af1bebe23.tar.gz
openssl-17a4a4dff846def98532dd3a90384e0af1bebe23.tar.bz2
Reword comment to be much shorter to stop other people from complaining
about "overcommenting".
Diffstat (limited to 'ssl/ssl_rsa.c')
-rw-r--r--ssl/ssl_rsa.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/ssl/ssl_rsa.c b/ssl/ssl_rsa.c
index a7721d0..27113eb 100644
--- a/ssl/ssl_rsa.c
+++ b/ssl/ssl_rsa.c
@@ -708,11 +708,7 @@ int SSL_CTX_use_certificate_chain_file(SSL_CTX *ctx, const char *file)
int ret=0;
X509 *x=NULL;
- ERR_clear_error(); /* This function needs to check the error stack
- even if the return code(s) of called functions
- indicate success.
- The error stack must therefore be cleared
- before starting. */
+ ERR_clear_error(); /* clear error stack for SSL_CTX_use_certificate() */
in=BIO_new(BIO_s_file_internal());
if (in == NULL)