From ae32be70d76bf0379e99e0111fa979420599f2f5 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Fri, 24 May 2019 05:46:18 +0200 Subject: tests: prf-early fixes the global version This allows having fixed data in the hello message involved. That required exposing the variable holding the global gnutls version number for testing. Signed-off-by: Nikos Mavrogiannopoulos --- lib/global.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/global.c') diff --git a/lib/global.c b/lib/global.c index 2ff371f873..334148342e 100644 --- a/lib/global.c +++ b/lib/global.c @@ -79,6 +79,8 @@ gnutls_log_func _gnutls_log_func = NULL; gnutls_audit_log_func _gnutls_audit_log_func = NULL; int _gnutls_log_level = 0; /* default log level */ +unsigned int _gnutls_global_version = GNUTLS_VERSION_NUMBER; + static int _gnutls_global_init(unsigned constructor); static void _gnutls_global_deinit(unsigned destructor); -- cgit v1.2.1