mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
Fix openssl
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9248 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9046d7d8c8
commit
3e6786867f
6 changed files with 47 additions and 35 deletions
|
@ -23,7 +23,7 @@
|
|||
|
||||
|
||||
#include <config.h>
|
||||
#if HAVE_OPENSSL_SSL_H
|
||||
#if HAVE_OPENSSL
|
||||
#include <openssl/ssl.h>
|
||||
#endif
|
||||
#include <base/preface.h>
|
||||
|
@ -1418,7 +1418,7 @@ getAddr(NSString* name, NSString* svc, NSString* pcl, struct sockaddr_in *sin)
|
|||
|
||||
|
||||
|
||||
#if HAVE_OPENSSL_SSL_H
|
||||
#if HAVE_OPENSSL
|
||||
@interface GSUnixSSLHandle : UnixFileHandle <GCFinalization>
|
||||
{
|
||||
SSL_CTX *ctx;
|
||||
|
@ -1958,5 +1958,5 @@ getAddr(NSString* name, NSString* svc, NSString* pcl, struct sockaddr_in *sin)
|
|||
NSLog(@"SSL method called on system built without OpenSSL");
|
||||
}
|
||||
@end
|
||||
#endif /* HAVE_OPENSSL_SSL_H */
|
||||
#endif /* HAVE_OPENSSL */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue