From 6283cc72eb0e49a3470d30e07ca99a1ba9e89676 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Mon, 30 Nov 2015 10:37:03 +1100 Subject: [PATCH] revert 7d4c7513: bring back S/Key prototypes (but leave RCSID changes) --- auth.h | 2 ++ monitor_wrap.h | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/auth.h b/auth.h index fffbe6c07..b235906cf 100644 --- a/auth.h +++ b/auth.h @@ -180,6 +180,8 @@ int auth2_challenge(Authctxt *, char *); void auth2_challenge_stop(Authctxt *); int bsdauth_query(void *, char **, char **, u_int *, char ***, u_int **); int bsdauth_respond(void *, u_int, char **); +int skey_query(void *, char **, char **, u_int *, char ***, u_int **); +int skey_respond(void *, u_int, char **); int allowed_user(struct passwd *); struct passwd * getpwnamallow(const char *user); diff --git a/monitor_wrap.h b/monitor_wrap.h index 2b8c18d6a..9a6aff684 100644 --- a/monitor_wrap.h +++ b/monitor_wrap.h @@ -98,6 +98,10 @@ void mm_send_keystate(struct monitor*); int mm_bsdauth_query(void *, char **, char **, u_int *, char ***, u_int **); int mm_bsdauth_respond(void *, u_int, char **); +/* skey */ +int mm_skey_query(void *, char **, char **, u_int *, char ***, u_int **); +int mm_skey_respond(void *, u_int, char **); + /* zlib allocation hooks */ void mm_init_compression(struct mm_master *);