Yavor Doganov's patch to avoid unnecessary link to libgcrypt

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37966 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2014-06-30 06:28:38 +00:00
parent 4cdd9aac1b
commit 21e157f656
5 changed files with 24 additions and 13 deletions

View file

@ -49,7 +49,9 @@ extern NSString * const GSTLSVerify;
#define _GCRYPT_IN_LIBGCRYPT
#include <gnutls/gnutls.h>
#include <gnutls/x509.h>
#if GNUTLS_VERSION_NUMBER <= 0x020b00
#include <gcrypt.h>
#endif
#undef id
/* This class is used to ensure that the GNUTLS system is initialised