summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/sshconnect.c
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2018-07-09 21:03:30 +0000
committermarkus <markus@openbsd.org>2018-07-09 21:03:30 +0000
commita72186f592abf031565f9e2088fb1ebd55f2ffe0 (patch)
tree7de1b9cf7ca7e608169dacd96a9c8adc25a061e5 /usr.bin/ssh/sshconnect.c
parentsync (diff)
downloadwireguard-openbsd-a72186f592abf031565f9e2088fb1ebd55f2ffe0.tar.xz
wireguard-openbsd-a72186f592abf031565f9e2088fb1ebd55f2ffe0.zip
client: switch to sshbuf API; ok djm@
Diffstat (limited to 'usr.bin/ssh/sshconnect.c')
-rw-r--r--usr.bin/ssh/sshconnect.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/sshconnect.c b/usr.bin/ssh/sshconnect.c
index b9c58907508..f828dcf3497 100644
--- a/usr.bin/ssh/sshconnect.c
+++ b/usr.bin/ssh/sshconnect.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshconnect.c,v 1.298 2018/04/10 00:10:49 djm Exp $ */
+/* $OpenBSD: sshconnect.c,v 1.299 2018/07/09 21:03:30 markus Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -38,7 +38,7 @@
#include "xmalloc.h"
#include "ssh.h"
-#include "buffer.h"
+#include "sshbuf.h"
#include "packet.h"
#include "uidswap.h"
#include "compat.h"
@@ -747,7 +747,7 @@ check_host_cert(const char *host, const struct sshkey *host_key)
error("%s", reason);
return 0;
}
- if (buffer_len(host_key->cert->critical) != 0) {
+ if (sshbuf_len(host_key->cert->critical) != 0) {
error("Certificate for %s contains unsupported "
"critical options(s)", host);
return 0;