summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2022-01-19 08:24:44 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2022-01-19 08:24:44 +0000
commitfe1df4c5e1b987c2c730361f562704e57259e63b (patch)
treeec1b2664b74c8ba7590eafd556e6048b3e6ec045
parentd847cedf756c82e116a9220d1eb169e903c6dc75 (diff)
Add missing x509_init_oid() calls in regress tests.
Found by anton@
-rw-r--r--regress/usr.sbin/rpki-client/test-cert.c3
-rw-r--r--regress/usr.sbin/rpki-client/test-gbr.c3
-rw-r--r--regress/usr.sbin/rpki-client/test-mft.c3
-rw-r--r--regress/usr.sbin/rpki-client/test-roa.c3
4 files changed, 8 insertions, 4 deletions
diff --git a/regress/usr.sbin/rpki-client/test-cert.c b/regress/usr.sbin/rpki-client/test-cert.c
index 62515528646..f7fb7a4b8cb 100644
--- a/regress/usr.sbin/rpki-client/test-cert.c
+++ b/regress/usr.sbin/rpki-client/test-cert.c
@@ -1,4 +1,4 @@
-/* $Id: test-cert.c,v 1.16 2022/01/18 16:41:00 claudio Exp $ */
+/* $Id: test-cert.c,v 1.17 2022/01/19 08:24:43 claudio Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -43,6 +43,7 @@ main(int argc, char *argv[])
ERR_load_crypto_strings();
OpenSSL_add_all_ciphers();
OpenSSL_add_all_digests();
+ x509_init_oid();
while ((c = getopt(argc, argv, "tv")) != -1)
switch (c) {
diff --git a/regress/usr.sbin/rpki-client/test-gbr.c b/regress/usr.sbin/rpki-client/test-gbr.c
index b7310516d56..81c6b758c00 100644
--- a/regress/usr.sbin/rpki-client/test-gbr.c
+++ b/regress/usr.sbin/rpki-client/test-gbr.c
@@ -1,4 +1,4 @@
-/* $Id: test-gbr.c,v 1.5 2021/10/26 16:59:54 claudio Exp $ */
+/* $Id: test-gbr.c,v 1.6 2022/01/19 08:24:43 claudio Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -46,6 +46,7 @@ main(int argc, char *argv[])
ERR_load_crypto_strings();
OpenSSL_add_all_ciphers();
OpenSSL_add_all_digests();
+ x509_init_oid();
while ((c = getopt(argc, argv, "pv")) != -1)
switch (c) {
diff --git a/regress/usr.sbin/rpki-client/test-mft.c b/regress/usr.sbin/rpki-client/test-mft.c
index fe7a08b0e09..c87cd60e95b 100644
--- a/regress/usr.sbin/rpki-client/test-mft.c
+++ b/regress/usr.sbin/rpki-client/test-mft.c
@@ -1,4 +1,4 @@
-/* $Id: test-mft.c,v 1.17 2021/10/26 16:59:54 claudio Exp $ */
+/* $Id: test-mft.c,v 1.18 2022/01/19 08:24:43 claudio Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -48,6 +48,7 @@ main(int argc, char *argv[])
ERR_load_crypto_strings();
OpenSSL_add_all_ciphers();
OpenSSL_add_all_digests();
+ x509_init_oid();
while (-1 != (c = getopt(argc, argv, "pv")))
switch (c) {
diff --git a/regress/usr.sbin/rpki-client/test-roa.c b/regress/usr.sbin/rpki-client/test-roa.c
index ff71bcf1a9e..34c2236e69d 100644
--- a/regress/usr.sbin/rpki-client/test-roa.c
+++ b/regress/usr.sbin/rpki-client/test-roa.c
@@ -1,4 +1,4 @@
-/* $Id: test-roa.c,v 1.14 2021/10/26 16:59:54 claudio Exp $ */
+/* $Id: test-roa.c,v 1.15 2022/01/19 08:24:43 claudio Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -45,6 +45,7 @@ main(int argc, char *argv[])
ERR_load_crypto_strings();
OpenSSL_add_all_ciphers();
OpenSSL_add_all_digests();
+ x509_init_oid();
while ((c = getopt(argc, argv, "pv")) != -1)
switch (c) {