mirror of
https://github.com/apache/httpd.git
synced 2025-08-07 04:02:58 +03:00
* modules/ssl/ssl_engine_log.c (ssl_log_cert_error): Use string
length returned by apr_vsnprintf. No functional change. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1867569 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -123,9 +123,7 @@ static void ssl_log_cert_error(const char *file, int line, int level,
|
|||||||
int msglen, n;
|
int msglen, n;
|
||||||
char *name;
|
char *name;
|
||||||
|
|
||||||
apr_vsnprintf(buf, sizeof buf, format, ap);
|
msglen = apr_vsnprintf(buf, sizeof buf, format, ap);
|
||||||
|
|
||||||
msglen = strlen(buf);
|
|
||||||
|
|
||||||
if (cert) {
|
if (cert) {
|
||||||
BIO *bio = BIO_new(BIO_s_mem());
|
BIO *bio = BIO_new(BIO_s_mem());
|
||||||
|
Reference in New Issue
Block a user