summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--authfile.c3
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 288a202cf..af1fd1c8e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -71,6 +71,9 @@
71 remove support for authorized_keys2; it is a relic from the early days 71 remove support for authorized_keys2; it is a relic from the early days
72 of protocol v.2 support and has been undocumented for many years; 72 of protocol v.2 support and has been undocumented for many years;
73 ok markus@ 73 ok markus@
74 - djm@cvs.openbsd.org 2011/05/13 00:05:36
75 [authfile.c]
76 warn on unexpected key type in key_parse_private_type()
74 77
7520110510 7820110510
76 - (dtucker) [openbsd-compat/openssl-compat.{c,h}] Bug #1882: fix 79 - (dtucker) [openbsd-compat/openssl-compat.{c,h}] Bug #1882: fix
diff --git a/authfile.c b/authfile.c
index 7a5b65142..734d657e9 100644
--- a/authfile.c
+++ b/authfile.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: authfile.c,v 1.89 2011/05/10 05:46:46 djm Exp $ */ 1/* $OpenBSD: authfile.c,v 1.90 2011/05/13 00:05:36 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
@@ -643,6 +643,7 @@ key_parse_private_type(Buffer *blob, int type, const char *passphrase,
643 case KEY_UNSPEC: 643 case KEY_UNSPEC:
644 return key_parse_private_pem(blob, type, passphrase, commentp); 644 return key_parse_private_pem(blob, type, passphrase, commentp);
645 default: 645 default:
646 error("%s: cannot parse key type %d", __func__, type);
646 break; 647 break;
647 } 648 }
648 return NULL; 649 return NULL;