]> andersk Git - openssh.git/commitdiff
- (djm) Avoid auth2-chall.c warning when compiling without
authordjm <djm>
Mon, 26 May 2003 11:36:13 +0000 (11:36 +0000)
committerdjm <djm>
Mon, 26 May 2003 11:36:13 +0000 (11:36 +0000)
   PAM, BSD_AUTH and SKEY

ChangeLog
auth2-chall.c

index b6bbc71e78bd957f7e1a501901a120a75893f0c6..d8988c8287f98f4cc8a33b2fb5e61a356b44fe87 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+20030526
+ - (djm) Avoid auth2-chall.c warning when compiling without 
+   PAM, BSD_AUTH and SKEY
+
 20030525
 - (djm) OpenBSD CVS Sync
    - djm@cvs.openbsd.org 2003/05/24 09:02:22
index 12e3cc934aa8336628c196ea483149d93712e0f7..aacbf0bccebb19509760f91c4998f4a034fe9860 100644 (file)
@@ -326,6 +326,9 @@ input_userauth_info_response(int type, u_int32_t seq, void *ctxt)
 void
 privsep_challenge_enable(void)
 {
+#if defined(BSD_AUTH) || defined(USE_PAM) || defined(SKEY)
+       int n = 0;
+#endif
 #ifdef BSD_AUTH
        extern KbdintDevice mm_bsdauth_device;
 #endif
@@ -335,7 +338,6 @@ privsep_challenge_enable(void)
 #ifdef SKEY
        extern KbdintDevice mm_skey_device;
 #endif
-       int n = 0;
 
 #ifdef BSD_AUTH
        devices[n++] = &mm_bsdauth_device;
This page took 0.052771 seconds and 5 git commands to generate.