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 | |
parent | 4f7a56d5e02e3d04ab69eac1213817a7536d0562 (diff) |
upstream: adapt for key shielding API changes (const removal)
OpenBSD-Regress-ID: 298890bc52f0cd09dba76dc1022fabe89bc0ded6
-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 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 | ||
53 | static void | 53 | static void |
54 | build_cert(struct sshbuf *b, const struct sshkey *k, const char *type, | 54 | build_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; |