|
|
@@ -30,6 +30,7 @@ SSL_CTX *setup_client_ctx(const char* curves) |
|
|
|
ERR("Enforcing protocol to TLSv1.2"); |
|
|
|
} |
|
|
|
|
|
|
|
SSL_CTX_enable_pq_experiment_signal(ctx); |
|
|
|
return ctx; |
|
|
|
} |
|
|
|
|
|
|
@@ -76,6 +77,7 @@ void test_Handshake(const char* IP, const char* curves, size_t handshake_nb) { |
|
|
|
if (err<=0) { |
|
|
|
ERR("Error connecting SSL err=%d", err); |
|
|
|
} |
|
|
|
//printf("Signal seen: %X\n", SSL_pq_experiment_signal_seen(ssl)); |
|
|
|
assert(!SSL_session_reused(ssl)); |
|
|
|
assert(SSL_shutdown(ssl) == 0); |
|
|
|
assert(SSL_shutdown(ssl) == 1); |
|
|
|