diff options
author | djm@openbsd.org <djm@openbsd.org> | 2019-06-21 04:21:45 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2019-06-21 14:24:44 +1000 |
commit | 1dfadb9b57c2985c95838a0292d1c2f6a501896e (patch) | |
tree | bf92080967265beeb55c79079483011c19212891 /regress/unittests | |
parent | 4f7a56d5e02e3d04ab69eac1213817a7536d0562 (diff) |
upstream: adapt for key shielding API changes (const removal)
OpenBSD-Regress-ID: 298890bc52f0cd09dba76dc1022fabe89bc0ded6
Diffstat (limited to 'regress/unittests')
-rw-r--r-- | regress/unittests/sshkey/test_sshkey.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/unittests/sshkey/test_sshkey.c b/regress/unittests/sshkey/test_sshkey.c index 47a03fad..d003483f 100644 --- a/regress/unittests/sshkey/test_sshkey.c +++ b/regress/unittests/sshkey/test_sshkey.c @@ -1,4 +1,4 @@ -/* $OpenBSD: test_sshkey.c,v 1.17 2018/09/13 09:03:20 djm Exp $ */ +/* $OpenBSD: test_sshkey.c,v 1.18 2019/06/21 04:21:45 djm Exp $ */ /* * Regress test for sshkey.h key management API * @@ -51,8 +51,8 @@ put_opt(struct sshbuf *b, const char *name, const char *value) } static void -build_cert(struct sshbuf *b, const struct sshkey *k, const char *type, - const struct sshkey *sign_key, const struct sshkey *ca_key, +build_cert(struct sshbuf *b, struct sshkey *k, const char *type, + struct sshkey *sign_key, struct sshkey *ca_key, const char *sig_alg) { struct sshbuf *ca_buf, *pk, *principals, *critopts, *exts; |