From 9864d91ea6852fd45c32bf0bced4a961b2920f87 Mon Sep 17 00:00:00 2001 From: haszi Date: Sat, 25 May 2024 13:31:54 +0200 Subject: [PATCH] Fix typo in LDAP stub (#14313) Co-authored-by: haszi --- ext/ldap/ldap.stub.php | 2 +- ext/ldap/ldap_arginfo.h | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ext/ldap/ldap.stub.php b/ext/ldap/ldap.stub.php index e10cbc6e508..f3615e4d42c 100644 --- a/ext/ldap/ldap.stub.php +++ b/ext/ldap/ldap.stub.php @@ -203,7 +203,7 @@ namespace { const LDAP_OPT_X_SASL_USERNAME = UNKNOWN; #endif -#ifdef ORALDAP +#ifdef HAVE_ORALDAP /** * @var int * @cvalue GSLC_SSL_NO_AUTH diff --git a/ext/ldap/ldap_arginfo.h b/ext/ldap/ldap_arginfo.h index ed039381762..369909889be 100644 --- a/ext/ldap/ldap_arginfo.h +++ b/ext/ldap/ldap_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 49801a700489ac5c4ffb8c3916278ec7aa002ab6 */ + * Stub hash: 7415695a7ae90e6abd45617baf8a9ecf9232b801 */ #if defined(HAVE_ORALDAP) ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_ldap_connect, 0, 0, LDAP\\Connection, MAY_BE_FALSE) @@ -668,13 +668,13 @@ static void register_ldap_symbols(int module_number) #if defined(LDAP_OPT_X_SASL_USERNAME) REGISTER_LONG_CONSTANT("LDAP_OPT_X_SASL_USERNAME", LDAP_OPT_X_SASL_USERNAME, CONST_PERSISTENT); #endif -#if defined(ORALDAP) +#if defined(HAVE_ORALDAP) REGISTER_LONG_CONSTANT("GSLC_SSL_NO_AUTH", GSLC_SSL_NO_AUTH, CONST_PERSISTENT); #endif -#if defined(ORALDAP) +#if defined(HAVE_ORALDAP) REGISTER_LONG_CONSTANT("GSLC_SSL_ONEWAY_AUTH", GSLC_SSL_ONEWAY_AUTH, CONST_PERSISTENT); #endif -#if defined(ORALDAP) +#if defined(HAVE_ORALDAP) REGISTER_LONG_CONSTANT("GSLC_SSL_TWOWAY_AUTH", GSLC_SSL_TWOWAY_AUTH, CONST_PERSISTENT); #endif #if (LDAP_API_VERSION > 2000)