diff options
Diffstat (limited to 'sshconnect.c')
-rw-r--r-- | sshconnect.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sshconnect.c b/sshconnect.c index 32f9c8b3a..afe294660 100644 --- a/sshconnect.c +++ b/sshconnect.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sshconnect.c,v 1.298 2018/04/10 00:10:49 djm Exp $ */ | 1 | /* $OpenBSD: sshconnect.c,v 1.299 2018/07/09 21:03:30 markus 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 |
@@ -52,7 +52,7 @@ | |||
52 | #include "key.h" | 52 | #include "key.h" |
53 | #include "hostfile.h" | 53 | #include "hostfile.h" |
54 | #include "ssh.h" | 54 | #include "ssh.h" |
55 | #include "buffer.h" | 55 | #include "sshbuf.h" |
56 | #include "packet.h" | 56 | #include "packet.h" |
57 | #include "uidswap.h" | 57 | #include "uidswap.h" |
58 | #include "compat.h" | 58 | #include "compat.h" |
@@ -771,7 +771,7 @@ check_host_cert(const char *host, const struct sshkey *host_key) | |||
771 | error("%s", reason); | 771 | error("%s", reason); |
772 | return 0; | 772 | return 0; |
773 | } | 773 | } |
774 | if (buffer_len(host_key->cert->critical) != 0) { | 774 | if (sshbuf_len(host_key->cert->critical) != 0) { |
775 | error("Certificate for %s contains unsupported " | 775 | error("Certificate for %s contains unsupported " |
776 | "critical options(s)", host); | 776 | "critical options(s)", host); |
777 | return 0; | 777 | return 0; |