]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
Correct cyrus-sasl version verison check
authorOndřej Kuzník <ondra@mistotebe.net>
Fri, 21 Feb 2020 10:27:44 +0000 (10:27 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Fri, 21 Feb 2020 20:38:27 +0000 (20:38 +0000)
servers/slapd/sasl.c

index 63d6e6d7a52298c62d20b8000c93ffa8c4047309..d61231e6df8806abd684313fb467e43aada9e47f 100644 (file)
@@ -46,7 +46,7 @@
 #define SASL_VERSION_FULL      ((SASL_VERSION_MAJOR << 16) |\
        (SASL_VERSION_MINOR << 8) | SASL_VERSION_STEP)
 
-#if SASL_VERSION_MINOR >= 0x020119 /* 2.1.25 */
+#if SASL_VERSION_FULL >= 0x020119 /* 2.1.25 */
 typedef sasl_callback_ft slap_sasl_cb_ft;
 #else
 typedef int (*slap_sasl_cb_ft)();