move the calls to psk kex modes tests down to match order in ssl_tlsext.c
authortb <tb@openbsd.org>
Sun, 5 Jun 2022 20:37:24 +0000 (20:37 +0000)
committertb <tb@openbsd.org>
Sun, 5 Jun 2022 20:37:24 +0000 (20:37 +0000)
regress/lib/libssl/tlsext/tlsexttest.c

index 06fe96e..6b1ce3c 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: tlsexttest.c,v 1.61 2022/06/05 20:24:10 tb Exp $ */
+/* $OpenBSD: tlsexttest.c,v 1.62 2022/06/05 20:37:24 tb Exp $ */
 /*
  * Copyright (c) 2017 Joel Sing <jsing@openbsd.org>
  * Copyright (c) 2017 Doug Hogan <doug@openbsd.org>
@@ -3976,9 +3976,6 @@ main(int argc, char **argv)
        failed |= test_tlsext_cookie_client();
        failed |= test_tlsext_cookie_server();
 
-       failed |= test_tlsext_psk_modes_client();
-       failed |= test_tlsext_psk_modes_server();
-
 #ifndef OPENSSL_NO_SRTP
        failed |= test_tlsext_srtp_client();
        failed |= test_tlsext_srtp_server();
@@ -3986,6 +3983,9 @@ main(int argc, char **argv)
        fprintf(stderr, "Skipping SRTP tests due to OPENSSL_NO_SRTP\n");
 #endif
 
+       failed |= test_tlsext_psk_modes_client();
+       failed |= test_tlsext_psk_modes_server();
+
        failed |= test_tlsext_clienthello_build();
        failed |= test_tlsext_serverhello_build();