summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaenicke <jaenicke>2008-05-26 06:21:10 +0000
committerjaenicke <jaenicke>2008-05-26 06:21:10 +0000
commitb4492316add58c0ca9548f608853e6167dff066a (patch)
tree500e3f74a836b005ecf47aca90fc3719c7ea1046
parent1ffad8f153628c5e444a2e8ba998e13f484954d0 (diff)
downloadopenssl-b4492316add58c0ca9548f608853e6167dff066a.tar.gz
Reword comment to be much shorter to stop other people from complaining
about "overcommenting"
-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 a7721d05e..27113eba5 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)