summaryrefslogtreecommitdiff
path: root/net/samba/patches/patch-ah
blob: 6698a580c61a17ccf18dd440f3c7fbc64422c28c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ah,v 1.3 2005/11/14 08:05:27 jlam Exp $

--- lib/pam_errors.c.orig	2005-10-12 13:03:29.000000000 -0400
+++ lib/pam_errors.c
@@ -23,9 +23,9 @@
 #ifdef WITH_PAM
 #include <security/pam_appl.h>
 
-#if defined(PAM_AUTHTOK_RECOVERY_ERR) && !defined(PAM_AUTHTOK_RECOVER_ERR)
+#ifndef PAM_AUTHTOK_RECOVER_ERR  
 #define PAM_AUTHTOK_RECOVER_ERR PAM_AUTHTOK_RECOVERY_ERR
-#endif	
+#endif
 
 /* PAM -> NT_STATUS map */
 static const struct {