summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbeck <beck@openbsd.org>2018-11-10 08:10:31 +0000
committerbeck <beck@openbsd.org>2018-11-10 08:10:31 +0000
commite144225bdb0fbbf74fb3e3a16be6e67986ac065c (patch)
treea28c61e1f2820bd7605e66f4c0a4796f620717db
parentadd support for setting the traffic class on ipv6 packets. (diff)
downloadwireguard-openbsd-e144225bdb0fbbf74fb3e3a16be6e67986ac065c.tar.xz
wireguard-openbsd-e144225bdb0fbbf74fb3e3a16be6e67986ac065c.zip
Make sure the interop test happen last (since they take a long time)
-rw-r--r--regress/lib/libssl/Makefile5
-rw-r--r--regress/lib/libssl/tlsext/tlsexttest.c12
2 files changed, 9 insertions, 8 deletions
diff --git a/regress/lib/libssl/Makefile b/regress/lib/libssl/Makefile
index ccff27278b2..c4133e32e56 100644
--- a/regress/lib/libssl/Makefile
+++ b/regress/lib/libssl/Makefile
@@ -1,16 +1,17 @@
-# $OpenBSD: Makefile,v 1.30 2018/11/09 19:31:50 tb Exp $
+# $OpenBSD: Makefile,v 1.31 2018/11/10 08:10:31 beck Exp $
SUBDIR += asn1
SUBDIR += bytestring
SUBDIR += ciphers
SUBDIR += client
-SUBDIR += interop
SUBDIR += pqueue
SUBDIR += server
SUBDIR += ssl
SUBDIR += tlsext
SUBDIR += key_schedule
SUBDIR += unit
+# Things that take a long time shoud go below here.
+SUBDIR += interop
install:
diff --git a/regress/lib/libssl/tlsext/tlsexttest.c b/regress/lib/libssl/tlsext/tlsexttest.c
index b50736d8021..4953c7bf245 100644
--- a/regress/lib/libssl/tlsext/tlsexttest.c
+++ b/regress/lib/libssl/tlsext/tlsexttest.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tlsexttest.c,v 1.19 2018/11/06 01:19:35 jsing Exp $ */
+/* $OpenBSD: tlsexttest.c,v 1.20 2018/11/10 08:10:31 beck Exp $ */
/*
* Copyright (c) 2017 Joel Sing <jsing@openbsd.org>
* Copyright (c) 2017 Doug Hogan <doug@openbsd.org>
@@ -1583,27 +1583,27 @@ test_tlsext_sigalgs_clienthello(void)
goto done;
}
- if (ssl->cert->pkeys[SSL_PKEY_RSA_SIGN].digest != EVP_sha512()) {
+ if (ssl->cert->pkeys[SSL_PKEY_RSA_SIGN].sigalg->md() != EVP_sha512()) {
fprintf(stderr, "FAIL: RSA sign digest mismatch\n");
failure = 1;
goto done;
}
- if (ssl->cert->pkeys[SSL_PKEY_RSA_ENC].digest != EVP_sha512()) {
+ if (ssl->cert->pkeys[SSL_PKEY_RSA_ENC].sigalg->md() != EVP_sha512()) {
fprintf(stderr, "FAIL: RSA enc digest mismatch\n");
failure = 1;
goto done;
}
- if (ssl->cert->pkeys[SSL_PKEY_ECC].digest != EVP_sha512()) {
+ if (ssl->cert->pkeys[SSL_PKEY_ECC].sigalg->md() != EVP_sha512()) {
fprintf(stderr, "FAIL: ECC digest mismatch\n");
failure = 1;
goto done;
}
- if (ssl->cert->pkeys[SSL_PKEY_GOST01].digest != EVP_streebog512()) {
+ if (ssl->cert->pkeys[SSL_PKEY_GOST01].sigalg->md() != EVP_streebog512()) {
fprintf(stderr, "FAIL: GOST01 digest mismatch\n");
failure = 1;
goto done;
}
-
+
done:
CBB_cleanup(&cbb);
SSL_CTX_free(ssl_ctx);