diff options
author | 2011-05-13 00:05:36 +0000 | |
---|---|---|
committer | 2011-05-13 00:05:36 +0000 | |
commit | c5f394199ee68fa58b521602aa8f4bfd5fc9bbb1 (patch) | |
tree | cfdd764b253fcc5d54316b72926112d8fdb30cad /usr.bin/ssh/authfile.c | |
parent | Make it clear that ftp-proxy needs to make outbound connections. (diff) | |
download | wireguard-openbsd-c5f394199ee68fa58b521602aa8f4bfd5fc9bbb1.tar.xz wireguard-openbsd-c5f394199ee68fa58b521602aa8f4bfd5fc9bbb1.zip |
warn on unexpected key type in key_parse_private_type()
Diffstat (limited to 'usr.bin/ssh/authfile.c')
-rw-r--r-- | usr.bin/ssh/authfile.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/authfile.c b/usr.bin/ssh/authfile.c index 116c680338a..be7efd4d5a4 100644 --- a/usr.bin/ssh/authfile.c +++ b/usr.bin/ssh/authfile.c @@ -1,4 +1,4 @@ -/* $OpenBSD: authfile.c,v 1.89 2011/05/10 05:46:46 djm Exp $ */ +/* $OpenBSD: authfile.c,v 1.90 2011/05/13 00:05:36 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -627,6 +627,7 @@ key_parse_private_type(Buffer *blob, int type, const char *passphrase, case KEY_UNSPEC: return key_parse_private_pem(blob, type, passphrase, commentp); default: + error("%s: cannot parse key type %d", __func__, type); break; } return NULL; |