iliaa           Thu Dec 12 13:36:39 2002 EDT

  Modified files:              (Branch: PHP_4_3)
    /php4/ext/openssl   openssl.c 
  Log:
  Fixed ZTS build.
  
  
Index: php4/ext/openssl/openssl.c
diff -u php4/ext/openssl/openssl.c:1.52.2.4 php4/ext/openssl/openssl.c:1.52.2.5
--- php4/ext/openssl/openssl.c:1.52.2.4 Thu Dec 12 09:16:15 2002
+++ php4/ext/openssl/openssl.c  Thu Dec 12 13:36:38 2002
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: openssl.c,v 1.52.2.4 2002/12/12 14:16:15 helly Exp $ */
+/* $Id: openssl.c,v 1.52.2.5 2002/12/12 18:36:38 iliaa Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -1685,7 +1685,7 @@
                }
                else if (type == le_key) {
                        /* check whether it is actually a private key if requested */
-                       if (!public_key && 
!php_openssl_is_private_key((EVP_PKEY*)what))
+                       if (!public_key && !php_openssl_is_private_key((EVP_PKEY*)what 
+TSRMLS_CC))
                        {
                                php_error_docref(NULL TSRMLS_CC, E_WARNING, "supplied 
key param is a public key");
                                return NULL;



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to