diff options
author | Damien Miller <djm@mindrot.org> | 2003-05-26 21:36:13 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2003-05-26 21:36:13 +1000 |
commit | a6a7c19dcbd96553b63b7524490e3528bd726ed8 (patch) | |
tree | 1acaf2b41a7bdcfdf90a536e93b15948fa6c995a /auth2-chall.c | |
parent | 9155a681fdbae4c5a90959f0444275a1396b19cf (diff) | |
download | openssh-git-a6a7c19dcbd96553b63b7524490e3528bd726ed8.tar.gz |
- (djm) Avoid auth2-chall.c warning when compiling without
PAM, BSD_AUTH and SKEY
Diffstat (limited to 'auth2-chall.c')
-rw-r--r-- | auth2-chall.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/auth2-chall.c b/auth2-chall.c index 12e3cc93..aacbf0bc 100644 --- a/auth2-chall.c +++ b/auth2-chall.c @@ -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; |