diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2003-02-28 17:26:28 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2003-02-28 17:26:28 +0000 |
| commit | 14bf872003ff96b60960d5b822a0bb846bff176f (patch) | |
| tree | 6bf18e4f09746b63b1a9cd17da3de1ef2c523b16 /ext/openssl/openssl.c | |
| parent | 58103931422b686d20d54831e218b22af30bc6b4 (diff) | |
| download | php-git-14bf872003ff96b60960d5b822a0bb846bff176f.tar.gz | |
Fixed compiler warnings.
Diffstat (limited to 'ext/openssl/openssl.c')
| -rw-r--r-- | ext/openssl/openssl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c index b48d0909d6..d465bcee10 100644 --- a/ext/openssl/openssl.c +++ b/ext/openssl/openssl.c @@ -1922,7 +1922,7 @@ PHP_FUNCTION(openssl_pkey_export_to_file) long key_resource = -1; EVP_PKEY * key; BIO * bio_out = NULL; - EVP_CIPHER * cipher; + const EVP_CIPHER * cipher; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zs|s!a!", &zpkey, &filename, &filename_len, &passphrase, &passphrase_len, &args) == FAILURE) { return; @@ -1977,7 +1977,7 @@ PHP_FUNCTION(openssl_pkey_export) long key_resource = -1; EVP_PKEY * key; BIO * bio_out = NULL; - EVP_CIPHER * cipher; + const EVP_CIPHER * cipher; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zz|s!a!", &zpkey, &out, &passphrase, &passphrase_len, &args) == FAILURE) { return; @@ -2191,7 +2191,7 @@ PHP_FUNCTION(openssl_pkcs7_encrypt) HashPosition hpos; zval ** zcertval; X509 * cert; - EVP_CIPHER *cipher = NULL; + const EVP_CIPHER *cipher = NULL; long cipherid = PHP_OPENSSL_CIPHER_DEFAULT; uint strindexlen; ulong intindex; |
