1
0
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:
Joe Orton
2019-09-26 09:17:58 +00:00
parent a26187732b
commit baaf6b9c49

View File

@@ -123,10 +123,8 @@ static void ssl_log_cert_error(const char *file, int line, int level,
int msglen, n;
char *name;
apr_vsnprintf(buf, sizeof buf, format, ap);
msglen = strlen(buf);
msglen = apr_vsnprintf(buf, sizeof buf, format, ap);
if (cert) {
BIO *bio = BIO_new(BIO_s_mem());