You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2003/10/30 13:15:28 UTC
cvs commit: httpd-2.0/modules/ssl ssl_engine_log.c
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) {