diff options
Diffstat (limited to 'sshconnect.c')
-rw-r--r-- | sshconnect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sshconnect.c b/sshconnect.c index b89321fb8..32e57296e 100644 --- a/sshconnect.c +++ b/sshconnect.c | |||
@@ -13,7 +13,7 @@ | |||
13 | */ | 13 | */ |
14 | 14 | ||
15 | #include "includes.h" | 15 | #include "includes.h" |
16 | RCSID("$OpenBSD: sshconnect.c,v 1.126 2002/06/23 03:30:17 deraadt Exp $"); | 16 | RCSID("$OpenBSD: sshconnect.c,v 1.127 2002/06/27 08:49:44 markus Exp $"); |
17 | 17 | ||
18 | #include <openssl/bn.h> | 18 | #include <openssl/bn.h> |
19 | 19 | ||
@@ -476,7 +476,7 @@ confirm(const char *prompt) | |||
476 | (p[0] == '\0') || (p[0] == '\n') || | 476 | (p[0] == '\0') || (p[0] == '\n') || |
477 | strncasecmp(p, "no", 2) == 0) | 477 | strncasecmp(p, "no", 2) == 0) |
478 | ret = 0; | 478 | ret = 0; |
479 | if (strncasecmp(p, "yes", 3) == 0) | 479 | if (p && strncasecmp(p, "yes", 3) == 0) |
480 | ret = 1; | 480 | ret = 1; |
481 | if (p) | 481 | if (p) |
482 | xfree(p); | 482 | xfree(p); |