summaryrefslogtreecommitdiff
path: root/ext/openssl/openssl.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2017-07-24 16:24:04 +0200
committerAnatol Belski <ab@php.net>2017-07-24 16:24:04 +0200
commitb7eb2c060409a8f5809d6e73f53d88844cf9ed09 (patch)
tree74366ba9e65e15411b49882405518d5d25070a6f /ext/openssl/openssl.c
parent0ec147d301b33b2cb0f347c6e81eb7e75e75b521 (diff)
downloadphp-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.c8
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