f8bb535bbd3da0d1a99d27a68b75b2e989c1d362
[openwrt/svn-archive/archive.git] / libs / gnutls / patches / 002-disable_openpgp.patch
1 Index: gnutls-2.2.3/libextra/gnutls_extra.c
2 ===================================================================
3 --- gnutls-2.2.3.orig/libextra/gnutls_extra.c 2008-05-08 21:18:29.000000000 +0200
4 +++ gnutls-2.2.3/libextra/gnutls_extra.c 2008-05-08 21:18:29.000000000 +0200
5 @@ -137,6 +137,7 @@
6 }
7 #endif
8
9 +#ifdef ENABLE_OPENPGP
10 /* Register the openpgp functions. This is because some
11 * of them are defined to be NULL in the main library.
12 */
13 @@ -152,6 +153,7 @@
14 gnutls_openpgp_crt_deinit,
15 gnutls_openpgp_keyring_deinit,
16 gnutls_openpgp_privkey_deinit);
17 +#endif
18
19 return 0;
20 }