wok-current view kazehakase/stuff/kazehakase-0.5.8-svn3873_trunk-gnutls3-gcry_control.patch @ rev 24569
sokojs: add shrink.sh (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 26 18:46:53 2022 +0000 (2022-02-26) |
parents | |
children |
line source
1 --- kazehakase-0.5.8-svn3873_trunk/src/kz-app.c.gnutls3 2009-09-14 01:51:10.000000000 +0900
2 +++ kazehakase-0.5.8-svn3873_trunk/src/kz-app.c 2013-02-09 21:18:04.000000000 +0900
3 @@ -494,7 +494,9 @@
5 #ifdef USE_SSL
6 /* initialize gnutls. this function should be called once. */
7 +#if GNUTLS_VERSION_NUMBER <= 0x020b00
8 gcry_control(GCRYCTL_SET_THREAD_CBS, &gcry_threads_pthread);
9 +#endif
10 gnutls_global_init();
11 #endif