mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
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:
parent
99aef4bca8
commit
91682dc2db
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue