summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sshconnect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sshconnect.c b/sshconnect.c
index 63a97d039..9ec0618a9 100644
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sshconnect.c,v 1.331 2020/08/11 09:49:57 djm Exp $ */ 1/* $OpenBSD: sshconnect.c,v 1.332 2020/09/09 21:57:27 djm Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -597,7 +597,7 @@ confirm(const char *prompt, const char *fingerprint)
597 if (p[0] == '\0' || strcasecmp(p, "no") == 0) 597 if (p[0] == '\0' || strcasecmp(p, "no") == 0)
598 ret = 0; 598 ret = 0;
599 else if (strcasecmp(p, "yes") == 0 || (fingerprint != NULL && 599 else if (strcasecmp(p, "yes") == 0 || (fingerprint != NULL &&
600 strcasecmp(p, fingerprint) == 0)) 600 strcmp(p, fingerprint) == 0))
601 ret = 1; 601 ret = 1;
602 free(cp); 602 free(cp);
603 if (ret != -1) 603 if (ret != -1)