summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/sshconnect.c
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2014-06-24 01:13:21 +0000
committerdjm <djm@openbsd.org>2014-06-24 01:13:21 +0000
commitea2d82896aadc5516ed8ed1ff9a4ef9408d5e35e (patch)
treee4b629e51465a0e8cfe0dfb9d18f14cbcfad801d /usr.bin/ssh/sshconnect.c
parentregress test for broken consecutive revoked serial number ranges (diff)
downloadwireguard-openbsd-ea2d82896aadc5516ed8ed1ff9a4ef9408d5e35e.tar.xz
wireguard-openbsd-ea2d82896aadc5516ed8ed1ff9a4ef9408d5e35e.zip
New key API: refactor key-related functions to be more library-like,
existing API is offered as a set of wrappers. with and ok markus@ Thanks also to Ben Hawkes, David Tomaschik, Ivan Fratric, Matthew Dempsky and Ron Bowes for a detailed review a few months ago.
Diffstat (limited to 'usr.bin/ssh/sshconnect.c')
-rw-r--r--usr.bin/ssh/sshconnect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/sshconnect.c b/usr.bin/ssh/sshconnect.c
index 9ee8006e454..d90d3a529fa 100644
--- a/usr.bin/ssh/sshconnect.c
+++ b/usr.bin/ssh/sshconnect.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshconnect.c,v 1.248 2014/04/29 18:01:49 markus Exp $ */
+/* $OpenBSD: sshconnect.c,v 1.249 2014/06/24 01:13:21 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -699,7 +699,7 @@ check_host_cert(const char *host, const Key *host_key)
error("%s", reason);
return 0;
}
- if (buffer_len(&host_key->cert->critical) != 0) {
+ if (buffer_len(host_key->cert->critical) != 0) {
error("Certificate for %s contains unsupported "
"critical options(s)", host);
return 0;