summaryrefslogtreecommitdiff
path: root/net/samba33/patches/patch-ae
blob: cb1cf2e5592d3ca0343e3deafdfd3939d483211d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ae,v 1.1.1.1 2010/02/16 16:24:15 taca Exp $

--- auth/pampass.c.orig	2010-01-14 10:12:10.000000000 +0000
+++ auth/pampass.c
@@ -46,6 +46,10 @@
 #include <pam/pam_appl.h>
 #endif
 
+#if defined(PAM_AUTHTOK_RECOVERY_ERR) && !defined(PAM_AUTHTOK_RECOVER_ERR)
+#define PAM_AUTHTOK_RECOVER_ERR PAM_AUTHTOK_RECOVERY_ERR
+#endif
+
 /*
  * Structure used to communicate between the conversation function
  * and the server_login/change password functions.