* modules/ssl/ssl_engine_log.c (ssl_log_cert_error): Use string
length returned by apr_vsnprintf.  No functional change.
@@ -123,9 +123,7 @@ 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());
