summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2001-04-18 23:44:51 +0000
committermarkus <markus@openbsd.org>2001-04-18 23:44:51 +0000
commit79f02416070d88daf32733c9b538c5ffcb4e36dd (patch)
tree0e2a9d71d77b2cde575b8287417467cee25aa7d0
parentmore ssh v2 hostbased-auth interop: ssh.com >= 2.1.0 works now (diff)
downloadwireguard-openbsd-79f02416070d88daf32733c9b538c5ffcb4e36dd.tar.xz
wireguard-openbsd-79f02416070d88daf32733c9b538c5ffcb4e36dd.zip
error->debug; noted by fries@
-rw-r--r--usr.bin/ssh/authfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/authfile.c b/usr.bin/ssh/authfile.c
index da6ebeebae2..46a5bb92c2d 100644
--- a/usr.bin/ssh/authfile.c
+++ b/usr.bin/ssh/authfile.c
@@ -36,7 +36,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: authfile.c,v 1.31 2001/04/15 16:58:03 markus Exp $");
+RCSID("$OpenBSD: authfile.c,v 1.32 2001/04/18 23:44:51 markus Exp $");
#include <openssl/err.h>
#include <openssl/evp.h>
@@ -447,7 +447,7 @@ key_load_private_pem(int fd, int type, const char *passphrase,
}
pk = PEM_read_PrivateKey(fp, NULL, NULL, (char *)passphrase);
if (pk == NULL) {
- error("PEM_read_PrivateKey failed");
+ debug("PEM_read_PrivateKey failed");
(void)ERR_get_error();
} else if (pk->type == EVP_PKEY_RSA &&
(type == KEY_UNSPEC||type==KEY_RSA)) {