summaryrefslogtreecommitdiff
path: root/usr.bin/ssh
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2019-06-23 12:21:47 +0000
committerDamien Miller <djm@cvs.openbsd.org>2019-06-23 12:21:47 +0000
commit5a7996f8224a39f7cbcce2755f46572678dea144 (patch)
tree5ce2b5ef1ab6b6f76596f2cea4204e37ce6f48ea /usr.bin/ssh
parentb838cbf5483a3d396af8083aca9d68fec8bf8ee9 (diff)
fix mismatch proto/decl from key shielding change; spotted via oss-fuzz
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r--usr.bin/ssh/sshkey.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/sshkey.c b/usr.bin/ssh/sshkey.c
index d9c1d66f841..9d90c9a51a3 100644
--- a/usr.bin/ssh/sshkey.c
+++ b/usr.bin/ssh/sshkey.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshkey.c,v 1.76 2019/06/21 04:21:05 djm Exp $ */
+/* $OpenBSD: sshkey.c,v 1.77 2019/06/23 12:21:46 djm Exp $ */
/*
* Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
* Copyright (c) 2008 Alexander von Gernler. All rights reserved.
@@ -4235,7 +4235,7 @@ sshkey_parse_private_fileblob(struct sshbuf *buffer, const char *passphrase,
* maxsign times.
*/
int
-sshkey_private_serialize_maxsign(const struct sshkey *k, struct sshbuf *b,
+sshkey_private_serialize_maxsign(struct sshkey *k, struct sshbuf *b,
u_int32_t maxsign, sshkey_printfn *pr)
{
int r, rupdate;