summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjsing <>2019-03-25 18:12:05 +0000
committerjsing <>2019-03-25 18:12:05 +0000
commite37f209c3843ee0b0f137ae0b3eeaca0fed22bed (patch)
treeaa374b0538c5d62ad3dea4e614556874f71d0b7d
parent1d1c5f97809275aae99e2af9b38c37e3b1eb8410 (diff)
downloadopenbsd-e37f209c3843ee0b0f137ae0b3eeaca0fed22bed.tar.gz
openbsd-e37f209c3843ee0b0f137ae0b3eeaca0fed22bed.tar.bz2
openbsd-e37f209c3843ee0b0f137ae0b3eeaca0fed22bed.zip
Update regress following sigalgs changes.
-rw-r--r--src/regress/lib/libssl/tlsext/tlsexttest.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/regress/lib/libssl/tlsext/tlsexttest.c b/src/regress/lib/libssl/tlsext/tlsexttest.c
index 06b855f6bb..8e4ac38be0 100644
--- a/src/regress/lib/libssl/tlsext/tlsexttest.c
+++ b/src/regress/lib/libssl/tlsext/tlsexttest.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: tlsexttest.c,v 1.28 2019/02/03 14:03:46 jsing Exp $ */ 1/* $OpenBSD: tlsexttest.c,v 1.29 2019/03/25 18:12:05 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2017 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2017 Joel Sing <jsing@openbsd.org>
4 * Copyright (c) 2017 Doug Hogan <doug@openbsd.org> 4 * Copyright (c) 2017 Doug Hogan <doug@openbsd.org>
@@ -1582,22 +1582,6 @@ test_tlsext_sigalgs_client(void)
1582 goto done; 1582 goto done;
1583 } 1583 }
1584 1584
1585 if (ssl->cert->pkeys[SSL_PKEY_RSA_SIGN].sigalg->md() != EVP_sha512()) {
1586 fprintf(stderr, "FAIL: RSA sign digest mismatch\n");
1587 failure = 1;
1588 goto done;
1589 }
1590 if (ssl->cert->pkeys[SSL_PKEY_RSA_ENC].sigalg->md() != EVP_sha512()) {
1591 fprintf(stderr, "FAIL: RSA enc digest mismatch\n");
1592 failure = 1;
1593 goto done;
1594 }
1595 if (ssl->cert->pkeys[SSL_PKEY_ECC].sigalg->md() != EVP_sha512()) {
1596 fprintf(stderr, "FAIL: ECC digest mismatch\n");
1597 failure = 1;
1598 goto done;
1599 }
1600
1601 done: 1585 done:
1602 CBB_cleanup(&cbb); 1586 CBB_cleanup(&cbb);
1603 SSL_CTX_free(ssl_ctx); 1587 SSL_CTX_free(ssl_ctx);