mturk       2005/05/20 02:59:15

  Modified:    jni/native/src ssl.c
  Log:
  Do not call ENGINE_free is not initialized.
  
  Revision  Changes    Path
  1.8       +2 -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.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- ssl.c     20 May 2005 09:56:47 -0000      1.7
  +++ ssl.c     20 May 2005 09:59:15 -0000      1.8
  @@ -141,7 +141,8 @@
                       err = APR_ENOTIMPL;
               }
               /* Free our "structural" reference. */
  -            ENGINE_free(ee);
  +            if (ee)
  +                ENGINE_free(ee);
           }
           if (err != APR_SUCCESS) {
               TCN_FREE_CSTRING(engine);
  
  
  

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

Reply via email to