Commit 0edc5695 authored by Joe Orton's avatar Joe Orton
Browse files

* ssl_engine_log.c (ssl_log_ssl_error): Use the thread-safe

interface for retrieving error strings.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@101625 13f79535-47bb-0310-9956-ffa450edef68
parent e3c50a88
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -118,8 +118,9 @@ void ssl_log_ssl_error(const char *file, int line, int level, server_rec *s)
    unsigned long e;

    while ((e = ERR_get_error())) {
        char *err, *annotation;
        err = ERR_error_string(e, NULL);
        char err[256], *annotation;

        ERR_error_string_n(e, err, sizeof err);
        annotation = ssl_log_annotation(err);

        if (annotation) {