summaryrefslogtreecommitdiff
path: root/sshconnect.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2015-11-20 01:45:29 +0000
committerDamien Miller <djm@mindrot.org>2015-11-20 12:46:06 +1100
commit8ca915fc761519dd1f7766a550ec597a81db5646 (patch)
treee8f053f3b4b8f6c6b38d38426f139f4fc21433ba /sshconnect.c
parentac9473580dcd401f8281305af98635cdaae9bf96 (diff)
upstream commit
add cast to make -Werror clean Upstream-ID: 288db4f8f810bd475be01320c198250a04ff064d
Diffstat (limited to 'sshconnect.c')
-rw-r--r--sshconnect.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sshconnect.c b/sshconnect.c
index b2c878a50..9dcbdeb66 100644
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sshconnect.c,v 1.268 2015/11/19 08:23:27 djm Exp $ */ 1/* $OpenBSD: sshconnect.c,v 1.269 2015/11/20 01:45:29 djm 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
@@ -1264,7 +1264,8 @@ verify_host_key(char *host, struct sockaddr *hostaddr, Key *host_key)
1264 debug("Server host certificate: %s %s, serial %llu " 1264 debug("Server host certificate: %s %s, serial %llu "
1265 "ID \"%s\" CA %s %s valid %s", 1265 "ID \"%s\" CA %s %s valid %s",
1266 sshkey_ssh_name(host_key), fp, 1266 sshkey_ssh_name(host_key), fp,
1267 host_key->cert->serial, host_key->cert->key_id, 1267 (unsigned long long)host_key->cert->serial,
1268 host_key->cert->key_id,
1268 sshkey_ssh_name(host_key->cert->signature_key), cafp, 1269 sshkey_ssh_name(host_key->cert->signature_key), cafp,
1269 valid); 1270 valid);
1270 for (i = 0; i < host_key->cert->nprincipals; i++) { 1271 for (i = 0; i < host_key->cert->nprincipals; i++) {