diff options
| author | Scott MacVicar <scottmac@php.net> | 2011-05-20 18:56:13 +0000 | 
|---|---|---|
| committer | Scott MacVicar <scottmac@php.net> | 2011-05-20 18:56:13 +0000 | 
| commit | 30f19bd52434736daf5ea8a5b8ee74f9d676a4fc (patch) | |
| tree | b015d1c5fceff091fccfe36e0fab77505a809ebd /ext/openssl/php_openssl.h | |
| parent | 1101293b3f78254cddc4492ef8e1216e9d1364b2 (diff) | |
| download | php-git-30f19bd52434736daf5ea8a5b8ee74f9d676a4fc.tar.gz | |
Allow management of your own padding in openssl_encrypt/decrypt.
For using mcrypt / openssl interchangeabley managing your own padding is the only solution.
Diffstat (limited to 'ext/openssl/php_openssl.h')
| -rw-r--r-- | ext/openssl/php_openssl.h | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/ext/openssl/php_openssl.h b/ext/openssl/php_openssl.h index dc53eb1282..3b3d1e61a9 100644 --- a/ext/openssl/php_openssl.h +++ b/ext/openssl/php_openssl.h @@ -26,6 +26,9 @@  extern zend_module_entry openssl_module_entry;  #define phpext_openssl_ptr &openssl_module_entry +#define OPENSSL_RAW_DATA 1 +#define OPENSSL_ZERO_PADDING 2 +  php_stream_transport_factory_func php_openssl_ssl_socket_factory;  PHP_MINIT_FUNCTION(openssl); | 
