krb5_samba: Fix checking for config.h #define in krb5_samba.h
authorAndreas Schneider <asn@samba.org>
Thu, 13 Dec 2018 17:48:44 +0000 (18:48 +0100)
committerGary Lockyer <gary@samba.org>
Sun, 16 Dec 2018 20:04:09 +0000 (21:04 +0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
lib/krb5_wrap/krb5_samba.h

index 4d0148fd04722473ea6569462124ebcbf1250695..ebbcba96c082ed010b98df807e4addb12db49be6 100644 (file)
@@ -105,7 +105,7 @@ typedef struct {
 
 #ifdef HAVE_KRB5_KEYTAB_ENTRY_KEY               /* MIT */
 #define KRB5_KT_KEY(k)         (&(k)->key)
-#elif HAVE_KRB5_KEYTAB_ENTRY_KEYBLOCK          /* Heimdal */
+#elif defined(HAVE_KRB5_KEYTAB_ENTRY_KEYBLOCK)  /* Heimdal */
 #define KRB5_KT_KEY(k)         (&(k)->keyblock)
 #else
 #error krb5_keytab_entry has no key or keyblock member