mturk       2005/08/01 06:07:54

  Modified:    jni/native/src ssl.c
  Log:
  Check if we have OpenSSL >= 0.9.7
  
  Revision  Changes    Path
  1.39      +5 -1      jakarta-tomcat-connectors/jni/native/src/ssl.c
  
  Index: ssl.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jni/native/src/ssl.c,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- ssl.c     12 Jul 2005 14:56:11 -0000      1.38
  +++ ssl.c     1 Aug 2005 13:07:54 -0000       1.39
  @@ -369,6 +369,10 @@
           TCN_FREE_CSTRING(engine);
           return (jint)APR_SUCCESS;
       }
  +    if (SSLeay() < 0x0090700L) {
  +        TCN_FREE_CSTRING(engine);
  +        return (jint)APR_EINVAL;        
  +    }
       /* We must register the library in full, to ensure our configuration
        * code can successfully test the SSL environment.
        */
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to