summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2003-03-31 17:58:29 +0000
committerWez Furlong <wez@php.net>2003-03-31 17:58:29 +0000
commit16dae2eba0f8d08225d5af693624a5dd4fb320f1 (patch)
tree449800e21b24c6b127aa20af8402a8c8d925a949 /ext
parent5c3a073c072279068d149c84f0793da93edcac0d (diff)
downloadphp-git-16dae2eba0f8d08225d5af693624a5dd4fb320f1.tar.gz
Fix const warning
Diffstat (limited to 'ext')
-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 8c68821ada..b0bfd42e55 100644
--- a/ext/openssl/openssl.c
+++ b/ext/openssl/openssl.c
@@ -2302,7 +2302,7 @@ PHP_FUNCTION(openssl_pkcs7_encrypt)
goto clean_exit;
}
- p7 = PKCS7_encrypt(recipcerts, infile, cipher, flags);
+ p7 = PKCS7_encrypt(recipcerts, infile, (EVP_CIPHER*)cipher, flags);
if (p7 == NULL) {
goto clean_exit;