move certtool and libgnutls-extra to separate packages, add psktool, cleanup
[openwrt/svn-archive/archive.git] / libs / gnutls / patches / 002-disable_openpgp.patch
1 diff -ruN gnutls-2.0.0-old/libextra/gnutls_extra.c gnutls-2.0.0-new/libextra/gnutls_extra.c
2 --- gnutls-2.0.0-old/libextra/gnutls_extra.c 2007-05-26 20:43:24.000000000 +0200
3 +++ gnutls-2.0.0-new/libextra/gnutls_extra.c 2007-09-09 13:36:21.000000000 +0200
4 @@ -140,6 +140,8 @@
5 }
6 #endif
7
8 +#ifdef ENABLE_OPENPGP
9 +
10 /* Register the openpgp functions. This is because some
11 * of them are defined to be NULL in the main library.
12 */
13 @@ -155,6 +157,8 @@
14 gnutls_openpgp_key_deinit,
15 gnutls_openpgp_privkey_deinit);
16
17 +#endif /* ENABLE_OPENPGP */
18 +
19 return 0;
20 }
21