X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=ssl%2Fssl_rsa.c;h=27113eba5088cfb196a56dca250c2ed7f12572fc;hb=96562f2fb31a014fb5da44859900058b39b5bfaf;hp=a7721d05e3dfff8210b60d87146a34d3efe43f4a;hpb=c2c2e7a438bf2876fc780cc1072941ab75769d57;p=oweals%2Fopenssl.git 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)