summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2002-05-01 07:50:13 +0000
committerWez Furlong <wez@php.net>2002-05-01 07:50:13 +0000
commitf571438d7a60b32ccd658b14c3e9e9876d77426b (patch)
tree630337d44e1afbb36f56d426b3b0eabea9c0265c
parentcc4ff9c3ac17124553afa43ad152d1b3cc86f9c2 (diff)
downloadphp-git-f571438d7a60b32ccd658b14c3e9e9876d77426b.tar.gz
Probable fix for #16940.
-rw-r--r--ext/openssl/openssl.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c
index 6fb09ba217..df02bef6fa 100644
--- a/ext/openssl/openssl.c
+++ b/ext/openssl/openssl.c
@@ -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));
}