fix ifdefs

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25869 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2008-01-05 15:57:47 +00:00
parent 99aef4bca8
commit 91682dc2db

View file

@ -103,6 +103,8 @@ static struct gcry_thread_cbs gcry_threads_other = {
- (int) write: (const uint8_t *)buffer maxLength: (unsigned int)len;
@end
#if defined(HAVE_GNUTLS)
/* Callback to allow the TLS code to pull data from the remote system.
* If the operation fails, this sets the error number.
*/
@ -163,6 +165,9 @@ GSTLSLog(int level, const char *msg)
NSLog(@"%s", msg);
}
#endif /* HAVE_GNUTLS */
@implementation GSTLS
#if defined(HAVE_GNUTLS)
static gnutls_anon_client_credentials_t anoncred;