summaryrefslogtreecommitdiff
path: root/ext/openssl
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2003-09-23 19:29:34 +0000
committerfoobar <sniper@php.net>2003-09-23 19:29:34 +0000
commit08effa1b04746fce02a2c89f8981899a4116452c (patch)
tree8212a66664d2bcf2621eaa40db78d5ad9c282f7d /ext/openssl
parentb9823393ea40cdaa06139d6fdcba75306bfa82a7 (diff)
downloadphp-git-08effa1b04746fce02a2c89f8981899a4116452c.tar.gz
Fixed typo.
Diffstat (limited to 'ext/openssl')
-rw-r--r--ext/openssl/openssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c
index acb11ea0e5..f6765e5c87 100644
--- a/ext/openssl/openssl.c
+++ b/ext/openssl/openssl.c
@@ -1743,7 +1743,7 @@ static EVP_PKEY * php_openssl_evp_from_zval(zval ** val, int public_key, char *
is_priv = php_openssl_is_private_key((EVP_PKEY*)what TSRMLS_CC);
/* check whether it is actually a private key if requested */
- if (!public_key && !ispriv) {
+ if (!public_key && !is_priv) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "supplied key param is a public key");
return NULL;
}