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:
5f23288
)
Reword comment to be much shorter to stop other people from complaining
author
Lutz Jänicke
<jaenicke@openssl.org>
Mon, 26 May 2008 06:21:10 +0000
(06:21 +0000)
committer
Lutz Jänicke
<jaenicke@openssl.org>
Mon, 26 May 2008 06:21:10 +0000
(06:21 +0000)
about "overcommenting"
ssl/ssl_rsa.c
patch
|
blob
|
history
diff --git
a/ssl/ssl_rsa.c
b/ssl/ssl_rsa.c
index a7721d05e3dfff8210b60d87146a34d3efe43f4a..27113eba5088cfb196a56dca250c2ed7f12572fc 100644
(file)
--- 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)