Skip to content

Commit d9f6030

Browse files
committed
Moving the definition location of the macro OPENSSL_EC_EXPLICIT_CURVE
1 parent 6763590 commit d9f6030

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/openssl/openssl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@
9797

9898
#if !defined(OPENSSL_NO_EC) && defined(EVP_PKEY_EC)
9999
#define HAVE_EVP_PKEY_EC 1
100-
#endif
101100

102101
/* the OPENSSL_EC_EXPLICIT_CURVE value was added
103102
* in OpenSSL 1.1.0; previous versions should
@@ -106,6 +105,7 @@
106105
#ifndef OPENSSL_EC_EXPLICIT_CURVE
107106
#define OPENSSL_EC_EXPLICIT_CURVE 0x000
108107
#endif
108+
#endif
109109

110110
ZEND_DECLARE_MODULE_GLOBALS(openssl)
111111

0 commit comments

Comments
 (0)