summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2019-06-21 04:21:45 +0000
committerDamien Miller <djm@mindrot.org>2019-06-21 14:24:44 +1000
commit1dfadb9b57c2985c95838a0292d1c2f6a501896e (patch)
treebf92080967265beeb55c79079483011c19212891 /regress
parent4f7a56d5e02e3d04ab69eac1213817a7536d0562 (diff)
upstream: adapt for key shielding API changes (const removal)
OpenBSD-Regress-ID: 298890bc52f0cd09dba76dc1022fabe89bc0ded6
Diffstat (limited to 'regress')
-rw-r--r--regress/unittests/sshkey/test_sshkey.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/unittests/sshkey/test_sshkey.c b/regress/unittests/sshkey/test_sshkey.c
index 47a03fad4..d003483f5 100644
--- a/regress/unittests/sshkey/test_sshkey.c
+++ b/regress/unittests/sshkey/test_sshkey.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: test_sshkey.c,v 1.17 2018/09/13 09:03:20 djm Exp $ */ 1/* $OpenBSD: test_sshkey.c,v 1.18 2019/06/21 04:21:45 djm Exp $ */
2/* 2/*
3 * Regress test for sshkey.h key management API 3 * Regress test for sshkey.h key management API
4 * 4 *
@@ -51,8 +51,8 @@ put_opt(struct sshbuf *b, const char *name, const char *value)
51} 51}
52 52
53static void 53static void
54build_cert(struct sshbuf *b, const struct sshkey *k, const char *type, 54build_cert(struct sshbuf *b, struct sshkey *k, const char *type,
55 const struct sshkey *sign_key, const struct sshkey *ca_key, 55 struct sshkey *sign_key, struct sshkey *ca_key,
56 const char *sig_alg) 56 const char *sig_alg)
57{ 57{
58 struct sshbuf *ca_buf, *pk, *principals, *critopts, *exts; 58 struct sshbuf *ca_buf, *pk, *principals, *critopts, *exts;