]> granicus.if.org Git - php/commitdiff
Probable fix for #16940.
authorWez Furlong <wez@php.net>
Wed, 1 May 2002 07:50:13 +0000 (07:50 +0000)
committerWez Furlong <wez@php.net>
Wed, 1 May 2002 07:50:13 +0000 (07:50 +0000)
ext/openssl/openssl.c

index 6fb09ba217e20dc4ff5bd98981f5194fae3edb94..df02bef6facd06b88ff891872be6a14fa66e50c9 100644 (file)
@@ -2404,7 +2404,8 @@ PHP_FUNCTION(openssl_private_decrypt)
                        }
                        break;
                default:
-                       zend_error(E_WARNING, "%s(): key type not supported in this PHP build!");
+                       zend_error(E_WARNING, "%s(): key type not supported in this PHP build!",
+                                       get_active_function_name(TSRMLS_C));
        }
 
        efree(crypttemp);
@@ -2462,7 +2463,8 @@ PHP_FUNCTION(openssl_public_encrypt)
                                                padding) == cryptedlen);
                        break;
                default:
-                       zend_error(E_WARNING, "%s(): key type not supported in this PHP build!");
+                       zend_error(E_WARNING, "%s(): key type not supported in this PHP build!",
+                                       get_active_function_name(TSRMLS_C));
 
        }
 
@@ -2525,7 +2527,8 @@ PHP_FUNCTION(openssl_public_decrypt)
                        break;
                        
                default:
-                       zend_error(E_WARNING, "%s(): key type not supported in this PHP build!");
+                       zend_error(E_WARNING, "%s(): key type not supported in this PHP build!",
+                                       get_active_function_name(TSRMLS_C));
                 
        }