summaryrefslogtreecommitdiff
path: root/ext/openssl/openssl.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/openssl/openssl.c')
-rw-r--r--ext/openssl/openssl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c
index a3b8f2bac7..57ba87b205 100644
--- a/ext/openssl/openssl.c
+++ b/ext/openssl/openssl.c
@@ -31,7 +31,6 @@
#include "php_openssl.h"
/* PHP Includes */
-#include "zend_exceptions.h"
#include "ext/standard/file.h"
#include "ext/standard/info.h"
#include "ext/standard/php_fopen_wrappers.h"
@@ -1826,7 +1825,7 @@ zend_string* php_openssl_x509_fingerprint(X509 *peer, const char *method, zend_b
php_error_docref(NULL, E_WARNING, "Unknown signature algorithm");
return NULL;
} else if (!X509_digest(peer, mdtype, md, &n)) {
- zend_throw_error(zend_ce_error, "Could not generate signature");
+ zend_throw_error(NULL, "Could not generate signature");
return NULL;
}