-# $OpenBSD: Makefile,v 1.3 2022/01/07 09:07:00 tb Exp $
+# $OpenBSD: Makefile,v 1.4 2024/03/20 10:38:05 jsing Exp $
PROG= dtlstest
LDADD= ${SSL_INT} -lcrypto
REGRESS_TARGETS= \
regress-dtlstest
+# XXX(jsing): use CA root and chain
regress-dtlstest: ${PROG}
./dtlstest \
- ${.CURDIR}/../../libssl/certs/server.pem \
- ${.CURDIR}/../../libssl/certs/server.pem \
- ${.CURDIR}/../../libssl/certs/ca.pem
+ ${.CURDIR}/../../libssl/certs/server1-rsa.pem \
+ ${.CURDIR}/../../libssl/certs/server1-rsa.pem \
+ ${.CURDIR}/../../libssl/certs/ca-int-rsa.pem
.include <bsd.regress.mk>
-# $OpenBSD: Makefile,v 1.2 2022/10/02 16:40:56 jsing Exp $
+# $OpenBSD: Makefile,v 1.3 2024/03/20 10:38:05 jsing Exp $
PROG= quictest
LDADD= -lssl -lcrypto
regress-quictest: ${PROG}
./quictest \
- ${.CURDIR}/../../libssl/certs/server.pem \
- ${.CURDIR}/../../libssl/certs/server.pem \
- ${.CURDIR}/../../libssl/certs/ca.pem
+ ${.CURDIR}/../../libssl/certs/server1-rsa.pem \
+ ${.CURDIR}/../../libssl/certs/server1-rsa-chain.pem \
+ ${.CURDIR}/../../libssl/certs/ca-root-rsa.pem
.include <bsd.regress.mk>
-# $OpenBSD: Makefile,v 1.2 2020/05/11 18:18:21 jsing Exp $
+# $OpenBSD: Makefile,v 1.3 2024/03/20 10:38:05 jsing Exp $
PROG= servertest
LDADD= ${SSL_INT} -lcrypto
regress-servertest: ${PROG}
./servertest \
- ${.CURDIR}/../../libssl/certs/server.pem \
- ${.CURDIR}/../../libssl/certs/server.pem \
- ${.CURDIR}/../../libssl/certs/ca.pem
+ ${.CURDIR}/../../libssl/certs/server1-rsa.pem \
+ ${.CURDIR}/../../libssl/certs/server1-rsa-chain.pem \
+ ${.CURDIR}/../../libssl/certs/ca-root-rsa.pem
.include <bsd.regress.mk>
-# $OpenBSD: Makefile,v 1.1 2024/01/19 08:29:08 jsing Exp $
+# $OpenBSD: Makefile,v 1.2 2024/03/20 10:38:05 jsing Exp $
PROG= shutdowntest
LDADD= -lssl -lcrypto
regress-shutdowntest: ${PROG}
./shutdowntest \
- ${.CURDIR}/../../libssl/certs/server.pem \
- ${.CURDIR}/../../libssl/certs/server.pem \
- ${.CURDIR}/../../libssl/certs/ca.pem
+ ${.CURDIR}/../../libssl/certs/server1-rsa.pem \
+ ${.CURDIR}/../../libssl/certs/server1-rsa-chain.pem \
+ ${.CURDIR}/../../libssl/certs/ca-root-rsa.pem
.include <bsd.regress.mk>
-# $OpenBSD: Makefile,v 1.1 2021/10/23 14:34:10 jsing Exp $
+# $OpenBSD: Makefile,v 1.2 2024/03/20 10:38:05 jsing Exp $
PROG= tlstest
LDADD= -lssl -lcrypto
regress-tlstest: ${PROG}
./tlstest \
- ${.CURDIR}/../../libssl/certs/server.pem \
- ${.CURDIR}/../../libssl/certs/server.pem \
- ${.CURDIR}/../../libssl/certs/ca.pem
+ ${.CURDIR}/../../libssl/certs/server1-rsa.pem \
+ ${.CURDIR}/../../libssl/certs/server1-rsa-chain.pem \
+ ${.CURDIR}/../../libssl/certs/ca-root-rsa.pem
.include <bsd.regress.mk>
-/* $OpenBSD: ssl_get_shared_ciphers.c,v 1.11 2022/02/05 18:19:39 tb Exp $ */
+/* $OpenBSD: ssl_get_shared_ciphers.c,v 1.12 2024/03/20 10:38:05 jsing Exp $ */
/*
* Copyright (c) 2021 Theo Buehler <tb@openbsd.org>
*
size_t i;
int failed = 0;
- if (asprintf(&server_cert, "%s/server.pem", CERTSDIR) == -1) {
+ if (asprintf(&server_cert, "%s/server1-rsa.pem", CERTSDIR) == -1) {
fprintf(stderr, "asprintf server_cert failed\n");
failed = 1;
goto err;
-# $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}
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 <bsd.regress.mk>
-/* $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 <jsing@openbsd.org>
*
#include <tls_internal.h>
#define PUBKEY_HASH \
- "SHA256:858d0f94beb0a08eb4f13871ba57bf0a2e081287d0efbaeb3bbac59dd8f1a8e5"
+ "SHA256:f03c535d374614e7356c0a4e6fd37fe94297b60ed86212adcba40e8e0b07bc9f"
char *cert_file, *key_file, *ocsp_staple_file;
-# $OpenBSD: Makefile,v 1.2 2017/05/06 21:56:43 jsing Exp $
+# $OpenBSD: Makefile,v 1.3 2024/03/20 10:38:05 jsing Exp $
PROG= tlstest
LDADD= -lcrypto -lssl -ltls
regress-tlstest: ${PROG}
./tlstest \
- ${.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-chain.pem \
+ ${.CURDIR}/../../libssl/certs/server1-rsa.pem
.include <bsd.regress.mk>