]> 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)
committerOndřej Kuzník <ondra@mistotebe.net>
Fri, 21 Feb 2020 10:44:59 +0000 (10:44 +0000)
servers/slapd/sasl.c

index d7d4fd4a774a3c70147440dbc45b28f08f21b4dc..99ce0d3afb862780788916cf301ca6173e5a697e 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)();