diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2000-04-26 22:16:00 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2000-04-26 22:16:00 +0000 |
commit | da55d86231216b2c17d310870e1a26c4f9211e4f (patch) | |
tree | f859b096f7e8c6a80e95202345fec8e1db269d73 /usr.bin | |
parent | 36dec3d4e4487e274b7fbc86b320a5b82e5f37b4 (diff) |
remove unused
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/ssh/sshd.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/ssh/sshd.c b/usr.bin/ssh/sshd.c index 3bd1b3237ae..a5916efce1d 100644 --- a/usr.bin/ssh/sshd.c +++ b/usr.bin/ssh/sshd.c @@ -14,7 +14,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: sshd.c,v 1.108 2000/04/26 20:56:30 markus Exp $"); +RCSID("$OpenBSD: sshd.c,v 1.109 2000/04/26 22:15:59 markus Exp $"); #include "xmalloc.h" #include "rsa.h" @@ -422,7 +422,6 @@ main(int ac, char **av) struct sockaddr_storage from; const char *remote_ip; int remote_port; - char *comment; FILE *f; struct linger linger; struct addrinfo *ai; @@ -550,14 +549,13 @@ main(int ac, char **av) k.type = KEY_RSA; k.rsa = sensitive_data.host_key; errno = 0; - if (!load_private_key(options.host_key_file, "", &k, &comment)) { + if (!load_private_key(options.host_key_file, "", &k, NULL)) { error("Could not load host key: %.200s: %.100s", options.host_key_file, strerror(errno)); log("Disabling protocol version 1"); options.protocol &= ~SSH_PROTO_1; } k.rsa = NULL; - xfree(comment); } if (options.protocol & SSH_PROTO_2) { sensitive_data.dsa_host_key = key_new(KEY_DSA); |