mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +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
a61f558660
commit
80a9952718
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;
|
- (int) write: (const uint8_t *)buffer maxLength: (unsigned int)len;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
#if defined(HAVE_GNUTLS)
|
||||||
|
|
||||||
/* Callback to allow the TLS code to pull data from the remote system.
|
/* Callback to allow the TLS code to pull data from the remote system.
|
||||||
* If the operation fails, this sets the error number.
|
* If the operation fails, this sets the error number.
|
||||||
*/
|
*/
|
||||||
|
@ -163,6 +165,9 @@ GSTLSLog(int level, const char *msg)
|
||||||
NSLog(@"%s", msg);
|
NSLog(@"%s", msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif /* HAVE_GNUTLS */
|
||||||
|
|
||||||
|
|
||||||
@implementation GSTLS
|
@implementation GSTLS
|
||||||
#if defined(HAVE_GNUTLS)
|
#if defined(HAVE_GNUTLS)
|
||||||
static gnutls_anon_client_credentials_t anoncred;
|
static gnutls_anon_client_credentials_t anoncred;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue