summaryrefslogtreecommitdiff
path: root/security/dropbear/patches/patch-ab
blob: bb684c839076941efb2079e311e1b66b5ea54d0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ab,v 1.6 2007/09/05 21:08:06 drochner Exp $

--- options.h.orig	2007-08-08 17:39:37.000000000 +0200
+++ options.h
@@ -132,8 +132,11 @@ etc) slower (perhaps by 50%). Recommende
  * but there's an interface via a PAM module - don't bother using it otherwise.
  * You can't enable both PASSWORD and PAM. */
 
+#ifdef DISABLE_PAM
 #define ENABLE_SVR_PASSWORD_AUTH
-/*#define ENABLE_SVR_PAM_AUTH */ /* requires ./configure --enable-pam */
+#else
+#define ENABLE_SVR_PAM_AUTH /* requires ./configure --enable-pam */
+#endif
 #define ENABLE_SVR_PUBKEY_AUTH
 
 #define ENABLE_CLI_PASSWORD_AUTH