summaryrefslogtreecommitdiffhomepage
path: root/patches/gnutls-3.6.2.local.patch
blob: d36d75eec6a9eb4ae4d85c4c450ee3abc27bd97f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff -ru gnutls-3.6.2.orig/lib/random.c gnutls-3.6.2/lib/random.c
--- gnutls-3.6.2.orig/lib/random.c	2018-02-11 10:49:13.000000000 +0100
+++ gnutls-3.6.2/lib/random.c	2018-04-05 00:48:31.928381221 +0200
@@ -42,8 +42,8 @@
 #endif
 
 /* Per thread context of random generator, and a flag to indicate initialization */
-static _Thread_local void *gnutls_rnd_ctx;
-static _Thread_local unsigned rnd_initialized = 0;
+static __thread void *gnutls_rnd_ctx;
+static __thread unsigned rnd_initialized = 0;
 
 struct rnd_ctx_list_st {
 	void *ctx;