Disable SSLv2 by default as it is insecure.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28336 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2009-06-09 08:32:16 +00:00
parent ed902f9bcf
commit e069bb1b23
3 changed files with 35 additions and 1 deletions

View file

@ -433,7 +433,7 @@ static gnutls_anon_client_credentials_t anoncred;
else if ([proto isEqualToString: NSStreamSocketSecurityLevelSSLv2] == YES)
{
proto = NSStreamSocketSecurityLevelSSLv2;
GSOnceMLog(@"NSStreamSocketSecurityLevelTLSv1 is insecure ..."
GSOnceMLog(@"NSStreamSocketSecurityLevelTLSv2 is insecure ..."
@" not implemented");
DESTROY(self);
return nil;