tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r524725 - /tomcat/connectors/trunk/jni/native/src/ssl.c
Date Mon, 02 Apr 2007 05:22:43 GMT
Author: mturk
Date: Sun Apr  1 22:22:42 2007
New Revision: 524725

URL: http://svn.apache.org/viewvc?view=rev&rev=524725
Log:
In case we don't specify the global randFile use like mod_ssl does with builtin. This fixes
long init on some platforms.

Modified:
    tomcat/connectors/trunk/jni/native/src/ssl.c

Modified: tomcat/connectors/trunk/jni/native/src/ssl.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jni/native/src/ssl.c?view=diff&rev=524725&r1=524724&r2=524725
==============================================================================
--- tomcat/connectors/trunk/jni/native/src/ssl.c (original)
+++ tomcat/connectors/trunk/jni/native/src/ssl.c Sun Apr  1 22:22:42 2007
@@ -259,7 +259,7 @@
         file = ssl_global_rand_file;
 
     if (file == NULL)
-        file = RAND_file_name(buffer, sizeof(buffer));
+        return -1;
     else if ((n = RAND_egd(file)) > 0) {
         return n;
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message