Commit 7f1d923a authored by Matt Caswell's avatar Matt Caswell
Browse files

Fix no-tls1_2

parent 734af93a
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -5497,6 +5497,7 @@ static int test_shutdown(int tst)
    return testresult;
}

#if !defined(OPENSSL_NO_TLS1_2) || !defined(OPENSSL_NO_TLS1_3)
static int cert_cb_cnt;

static int cert_cb(SSL *s, void *arg)
@@ -5576,6 +5577,7 @@ static int test_cert_cb_int(int prot, int tst)

    return testresult;
}
#endif

static int test_cert_cb(int tst)
{
@@ -5584,7 +5586,7 @@ static int test_cert_cb(int tst)
#ifndef OPENSSL_NO_TLS1_2
    testresult &= test_cert_cb_int(TLS1_2_VERSION, tst);
#endif
#ifdef OPENSSL_NO_TLS1_3
#ifndef OPENSSL_NO_TLS1_3
    testresult &= test_cert_cb_int(TLS1_3_VERSION, tst);
#endif