Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 70711 invoked from network); 30 Oct 2003 12:15:30 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 30 Oct 2003 12:15:30 -0000 Received: (qmail 36214 invoked by uid 500); 30 Oct 2003 12:15:29 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 36030 invoked by uid 500); 30 Oct 2003 12:15:28 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 36017 invoked by uid 500); 30 Oct 2003 12:15:27 -0000 Delivered-To: apmail-httpd-2.0-cvs@apache.org Received: (qmail 36014 invoked from network); 30 Oct 2003 12:15:27 -0000 Received: from unknown (HELO minotaur.apache.org) (209.237.227.194) by daedalus.apache.org with SMTP; 30 Oct 2003 12:15:27 -0000 Received: (qmail 70660 invoked by uid 1582); 30 Oct 2003 12:15:28 -0000 Date: 30 Oct 2003 12:15:28 -0000 Message-ID: <20031030121528.70659.qmail@minotaur.apache.org> From: jorton@apache.org To: httpd-2.0-cvs@apache.org Subject: cvs commit: httpd-2.0/modules/ssl ssl_engine_log.c X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N jorton 2003/10/30 04:15:28 Modified: modules/ssl ssl_engine_log.c Log: * ssl_engine_log.c (ssl_log_ssl_error): Use the thread-safe interface for retrieving error strings. Revision Changes Path 1.23 +3 -2 httpd-2.0/modules/ssl/ssl_engine_log.c Index: ssl_engine_log.c =================================================================== RCS file: /home/cvs/httpd-2.0/modules/ssl/ssl_engine_log.c,v retrieving revision 1.22 retrieving revision 1.23 diff -u -u -r1.22 -r1.23 --- ssl_engine_log.c 3 Feb 2003 17:53:12 -0000 1.22 +++ ssl_engine_log.c 30 Oct 2003 12:15:28 -0000 1.23 @@ -118,8 +118,9 @@ 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) {