You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by mt...@apache.org on 2007/04/02 07:22:43 UTC

svn commit: r524725 - /tomcat/connectors/trunk/jni/native/src/ssl.c

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