lib/krb5_wrap: define KRB5_PW_SALT if it is not already there.
authorGünther Deschner <gd@samba.org>
Thu, 8 May 2014 12:31:37 +0000 (14:31 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 8 Aug 2014 04:02:35 +0000 (06:02 +0200)
Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/krb5_wrap/krb5_samba.h

index 13b8c32e7cbda0f610e12378223c63ebc07104d3..be1b20e6576dc3c77cbe7c38a4b4bd447c4e0e5a 100644 (file)
 #define AP_OPTS_USE_SUBKEY 0
 #endif
 
+#ifndef KRB5_PW_SALT
+#define KRB5_PW_SALT 3
+#endif
+
 typedef struct {
 #if defined(HAVE_MAGIC_IN_KRB5_ADDRESS) && defined(HAVE_ADDRTYPE_IN_KRB5_ADDRESS) /* MIT */
        krb5_address **addrs;