We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f018fe6 commit 13434beCopy full SHA for 13434be
ext/openssl/xp_ssl.c
@@ -1022,6 +1022,7 @@ static inline int php_openssl_get_max_proto_version_flag(int flags) /* {{{ */
1022
}
1023
/* }}} */
1024
1025
+#if PHP_OPENSSL_API_VERSION >= 0x10100
1026
static inline int php_openssl_map_proto_version(int flag) /* {{{ */
1027
{
1028
switch (flag) {
@@ -1052,6 +1053,7 @@ static int php_openssl_get_max_proto_version(int flags) /* {{{ */
1052
1053
return php_openssl_map_proto_version(php_openssl_get_max_proto_version_flag(flags));
1054
1055
1056
+#endif
1057
1058
static int php_openssl_get_proto_version_flags(int flags, int min, int max) /* {{{ */
1059
0 commit comments