mirror of git://anongit.mindrot.org/openssh.git
- jakob@cvs.openbsd.org 2003/11/03 09:37:32
[sshconnect.c] do not free static type pointer in warn_changed_key()
This commit is contained in:
parent
5a38897dbb
commit
8f746ec970
|
@ -7,6 +7,9 @@
|
|||
- jakob@cvs.openbsd.org 2003/11/03 09:09:41
|
||||
[sshconnect.c]
|
||||
move changed key warning into warn_changed_key(). ok markus@
|
||||
- jakob@cvs.openbsd.org 2003/11/03 09:37:32
|
||||
[sshconnect.c]
|
||||
do not free static type pointer in warn_changed_key()
|
||||
|
||||
20031115
|
||||
- (dtucker) [regress/agent-ptrace.sh] Test for GDB output from Solaris and
|
||||
|
@ -1427,4 +1430,4 @@
|
|||
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
|
||||
Report from murple@murple.net, diagnosis from dtucker@zip.com.au
|
||||
|
||||
$Id: ChangeLog,v 1.3099 2003/11/17 10:10:47 djm Exp $
|
||||
$Id: ChangeLog,v 1.3100 2003/11/17 10:11:15 djm Exp $
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*/
|
||||
|
||||
#include "includes.h"
|
||||
RCSID("$OpenBSD: sshconnect.c,v 1.150 2003/11/03 09:09:41 jakob Exp $");
|
||||
RCSID("$OpenBSD: sshconnect.c,v 1.151 2003/11/03 09:37:32 jakob Exp $");
|
||||
|
||||
#include <openssl/bn.h>
|
||||
|
||||
|
@ -1041,7 +1041,7 @@ static void
|
|||
warn_changed_key(Key *host_key)
|
||||
{
|
||||
char *fp;
|
||||
char *type = key_type(host_key);
|
||||
const char *type = key_type(host_key);
|
||||
|
||||
fp = key_fingerprint(host_key, SSH_FP_MD5, SSH_FP_HEX);
|
||||
|
||||
|
@ -1056,5 +1056,4 @@ warn_changed_key(Key *host_key)
|
|||
error("Please contact your system administrator.");
|
||||
|
||||
xfree(fp);
|
||||
xfree(type);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue