summaryrefslogtreecommitdiff
path: root/ssherr.c
diff options
context:
space:
mode:
authortim@openbsd.org <tim@openbsd.org>2015-09-13 14:39:16 +0000
committerDamien Miller <djm@mindrot.org>2015-09-16 17:52:09 +1000
commit3c019a936b43f3e2773f3edbde7c114d73caaa4c (patch)
tree2f65012ad783bb594c668d37d5137a1f1ac56768 /ssherr.c
parent2681cdb6e0de7c1af549dac37a9531af202b4434 (diff)
upstream commit
- Fix error message: passphrase needs to be at least 5 characters, not 4. - Remove unused function argument. - Remove two unnecessary variables. OK djm@ Upstream-ID: 13010c05bfa8b523da1c0dc19e81dd180662bc30
Diffstat (limited to 'ssherr.c')
-rw-r--r--ssherr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssherr.c b/ssherr.c
index 4ca793992..680207063 100644
--- a/ssherr.c
+++ b/ssherr.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssherr.c,v 1.4 2015/02/16 22:13:32 djm Exp $ */ 1/* $OpenBSD: ssherr.c,v 1.5 2015/09/13 14:39:16 tim Exp $ */
2/* 2/*
3 * Copyright (c) 2011 Damien Miller 3 * Copyright (c) 2011 Damien Miller
4 * 4 *
@@ -104,7 +104,7 @@ ssh_err(int n)
104 case SSH_ERR_NEED_REKEY: 104 case SSH_ERR_NEED_REKEY:
105 return "rekeying not supported by peer"; 105 return "rekeying not supported by peer";
106 case SSH_ERR_PASSPHRASE_TOO_SHORT: 106 case SSH_ERR_PASSPHRASE_TOO_SHORT:
107 return "passphrase is too short (minimum four characters)"; 107 return "passphrase is too short (minimum five characters)";
108 case SSH_ERR_FILE_CHANGED: 108 case SSH_ERR_FILE_CHANGED:
109 return "file changed while reading"; 109 return "file changed while reading";
110 case SSH_ERR_KEY_UNKNOWN_CIPHER: 110 case SSH_ERR_KEY_UNKNOWN_CIPHER: