diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2019-05-24 05:46:18 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2019-05-24 05:46:21 +0200 |
commit | ae32be70d76bf0379e99e0111fa979420599f2f5 (patch) | |
tree | cdbfa83a749902c9b30e07fcca477cc2de74e25f /lib/global.c | |
parent | eac062f478a940471c16c750fe7f080f5a4128c6 (diff) | |
download | gnutls-ae32be70d76bf0379e99e0111fa979420599f2f5.tar.gz |
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 <nmav@gnutls.org>
Diffstat (limited to 'lib/global.c')
-rw-r--r-- | lib/global.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |