diff options
author | Anatol Belski <ab@php.net> | 2017-07-24 16:24:04 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2017-07-24 16:24:04 +0200 |
commit | b7eb2c060409a8f5809d6e73f53d88844cf9ed09 (patch) | |
tree | 74366ba9e65e15411b49882405518d5d25070a6f /ext/openssl/openssl.c | |
parent | 0ec147d301b33b2cb0f347c6e81eb7e75e75b521 (diff) | |
download | php-git-b7eb2c060409a8f5809d6e73f53d88844cf9ed09.tar.gz |
Followup on 0ec147d3 for another place
which requires also to move the macros into the header
Diffstat (limited to 'ext/openssl/openssl.c')
-rw-r--r-- | ext/openssl/openssl.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c index 148540c80c..19cc0ac100 100644 --- a/ext/openssl/openssl.c +++ b/ext/openssl/openssl.c @@ -86,14 +86,6 @@ #define HAVE_EVP_PKEY_EC 1 #endif -#ifdef PHP_WIN32 -#define PHP_OPENSSL_BIO_MODE_R(flags) (((flags) & PKCS7_BINARY) ? "rb" : "r") -#define PHP_OPENSSL_BIO_MODE_W(flags) (((flags) & PKCS7_BINARY) ? "wb" : "w") -#else -#define PHP_OPENSSL_BIO_MODE_R(flags) "r" -#define PHP_OPENSSL_BIO_MODE_W(flags) "w" -#endif - ZEND_DECLARE_MODULE_GLOBALS(openssl) /* FIXME: Use the openssl constants instead of |