From 4c227e25c86375df6e383135ad378a30c7a03c84 Mon Sep 17 00:00:00 2001 From: Joel Sing Date: Wed, 20 Mar 2024 10:38:06 +0000 Subject: Use the new certificates/chains in regress. The new certificates are more representative of the real world. The old certificates use weak algorithms and expire in the very near future. Most of our regress has already been switched over, this changes the remainder. Thanks to Bernhard M. Wiedemann for reminding us of the upcoming expiry. ok tb@ --- regress/lib/libtls/keypair/Makefile | 8 ++++---- regress/lib/libtls/keypair/keypairtest.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'regress/lib/libtls/keypair') diff --git a/regress/lib/libtls/keypair/Makefile b/regress/lib/libtls/keypair/Makefile index d06109a26b1..c3ea15d3bd3 100644 --- a/regress/lib/libtls/keypair/Makefile +++ b/regress/lib/libtls/keypair/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2018/02/08 10:06:52 jsing Exp $ +# $OpenBSD: Makefile,v 1.2 2024/03/20 10:38:05 jsing Exp $ PROG= keypairtest LDADD= -lcrypto -lssl ${TLS_INT} @@ -13,8 +13,8 @@ REGRESS_TARGETS= \ regress-keypairtest: ${PROG} ./keypairtest \ - ${.CURDIR}/../../libssl/certs/ca.pem \ - ${.CURDIR}/../../libssl/certs/server.pem \ - ${.CURDIR}/../../libssl/certs/server.pem + ${.CURDIR}/../../libssl/certs/ca-root-rsa.pem \ + ${.CURDIR}/../../libssl/certs/server1-rsa.pem \ + ${.CURDIR}/../../libssl/certs/server1-rsa.pem .include diff --git a/regress/lib/libtls/keypair/keypairtest.c b/regress/lib/libtls/keypair/keypairtest.c index 31bf7d6a5d0..600e578f32c 100644 --- a/regress/lib/libtls/keypair/keypairtest.c +++ b/regress/lib/libtls/keypair/keypairtest.c @@ -1,4 +1,4 @@ -/* $OpenBSD: keypairtest.c,v 1.6 2022/02/08 18:05:57 tb Exp $ */ +/* $OpenBSD: keypairtest.c,v 1.7 2024/03/20 10:38:05 jsing Exp $ */ /* * Copyright (c) 2018 Joel Sing * @@ -29,7 +29,7 @@ #include #define PUBKEY_HASH \ - "SHA256:858d0f94beb0a08eb4f13871ba57bf0a2e081287d0efbaeb3bbac59dd8f1a8e5" + "SHA256:f03c535d374614e7356c0a4e6fd37fe94297b60ed86212adcba40e8e0b07bc9f" char *cert_file, *key_file, *ocsp_staple_file; -- cgit v1.2.3