summaryrefslogtreecommitdiff
path: root/tests/tls13
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tls13')
-rw-r--r--tests/tls13/prf-early.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/tls13/prf-early.c b/tests/tls13/prf-early.c
index 758f78efe7..414b1db5ea 100644
--- a/tests/tls13/prf-early.c
+++ b/tests/tls13/prf-early.c
@@ -54,6 +54,8 @@ static void terminate(void);
#define MAX_BUF 5*1024
#define MSG "Hello TLS"
+extern unsigned int _gnutls_global_version;
+
/* This program tests whether the gnutls_prf() works as
* expected.
*/
@@ -421,6 +423,7 @@ void doit(void)
int i;
int ret;
+ _gnutls_global_version = 0x030607;
signal(SIGPIPE, SIG_IGN);
for (i = 0; i < SESSIONS; i++) {