From a4e47d98efe4b99810dfe6994b5ea66afa552061 Mon Sep 17 00:00:00 2001 From: claudio Date: Wed, 19 Jan 2022 08:24:43 +0000 Subject: [PATCH] Add missing x509_init_oid() calls in regress tests. Found by anton@ --- regress/usr.sbin/rpki-client/test-cert.c | 3 ++- regress/usr.sbin/rpki-client/test-gbr.c | 3 ++- regress/usr.sbin/rpki-client/test-mft.c | 3 ++- regress/usr.sbin/rpki-client/test-roa.c | 3 ++- 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 * @@ -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 * @@ -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 * @@ -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 * @@ -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) { -- 2.20.1