summaryrefslogtreecommitdiffstats
path: root/ssl/ssl_rsa.c
diff options
context:
space:
mode:
authorLutz Jänicke <jaenicke@openssl.org>2008-05-26 06:21:10 +0000
committerLutz Jänicke <jaenicke@openssl.org>2008-05-26 06:21:10 +0000
commitb0118409a9550a5f5b7b5466bf8b5d57ffc5e843 (patch)
tree883050f9326c2ce6603ad6e1eab08e3475c26906 /ssl/ssl_rsa.c
parent5f23288692fcefe8bbc17e1e5c874fc28e00a522 (diff)
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 a7721d05e3..27113eba50 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)