mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
cleanups for SSL/TLS support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35596 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f802c5ab4d
commit
83b4735655
6 changed files with 50 additions and 9 deletions
|
@ -45,6 +45,13 @@
|
|||
#import "GSSocketStream.h"
|
||||
#import "GNUstepBase/NSObject+GNUstepBase.h"
|
||||
|
||||
/* Perhaps thse should be elsewhere ... maybe in a new file along with
|
||||
* the gnutls infrastructure.
|
||||
*/
|
||||
NSString * const GSTLSCertificateFileKey = @"GSTLSCertificateFileKey";
|
||||
NSString * const GSTLSPrivateKeyFileKey = @"GSTLSPrivateKeyFile";
|
||||
NSString * const GSTLSPrivateKeyPasswordKey = @"GSTLSPrivateKeyPassword";
|
||||
|
||||
#ifndef SHUT_RD
|
||||
# ifdef SD_RECEIVE
|
||||
# define SHUT_RD SD_RECEIVE
|
||||
|
@ -490,10 +497,6 @@ _verify_certificate_callback (gnutls_session_t session)
|
|||
return 0;
|
||||
}
|
||||
|
||||
NSString * const GSTLSCertificateFileKey = @"GSTLSCertificateFileKey";
|
||||
NSString * const GSTLSPrivateKeyFileKey = @"GSTLSPrivateKeyFile";
|
||||
NSString * const GSTLSPrivateKeyPasswordKey = @"GSTLSPrivateKeyPassword";
|
||||
|
||||
/* This class is used to ensure that the GNUTLS system is initialised
|
||||
* and thread-safe.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue