From 4dba0a90c8d2da9d7ecce0edb13e17427839c18c Mon Sep 17 00:00:00 2001 From: beck <> Date: Sat, 10 Nov 2018 08:10:31 +0000 Subject: Make sure the interop test happen last (since they take a long time) --- src/regress/lib/libssl/Makefile | 5 +++-- src/regress/lib/libssl/tlsext/tlsexttest.c | 12 ++++++------ 2 files changed, 9 insertions(+), 8 deletions(-) (limited to 'src/regress/lib/libssl') diff --git a/src/regress/lib/libssl/Makefile b/src/regress/lib/libssl/Makefile index ccff27278b..c4133e32e5 100644 --- a/src/regress/lib/libssl/Makefile +++ b/src/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/src/regress/lib/libssl/tlsext/tlsexttest.c b/src/regress/lib/libssl/tlsext/tlsexttest.c index b50736d802..4953c7bf24 100644 --- a/src/regress/lib/libssl/tlsext/tlsexttest.c +++ b/src/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 * Copyright (c) 2017 Doug Hogan @@ -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); -- cgit v1.2.3-55-g6feb