From 0c8f8473d55e1e0604a422d19f247d4a628ed35a Mon Sep 17 00:00:00 2001 From: Manoj Ampalam Date: Sat, 8 Jul 2017 23:21:35 -0700 Subject: [PATCH] Ported changed due to merge from openssh/master --- contrib/win32/win32compat/ssh-agent/agentconfig.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/contrib/win32/win32compat/ssh-agent/agentconfig.c b/contrib/win32/win32compat/ssh-agent/agentconfig.c index 954e4e062..dddada984 100644 --- a/contrib/win32/win32compat/ssh-agent/agentconfig.c +++ b/contrib/win32/win32compat/ssh-agent/agentconfig.c @@ -56,6 +56,19 @@ struct passwd *privsep_pw = NULL; static char *config_file_name = _PATH_SERVER_CONFIG_FILE; int auth_sock = -1; +int +auth2_key_already_used(Authctxt *authctxt, const struct sshkey *key) +{ + return 0; +} + +void +auth2_record_key(Authctxt *authctxt, int authenticated, + const struct sshkey *key) +{ + return; +} + int auth2_methods_valid(const char * c, int i) { return 1;