Use ObjOpenSSL instead of ObjGnuTLS.

This commit is contained in:
Jonathan Schleifer 2011-03-28 22:43:54 +02:00
parent 993d0a7596
commit dc0f6bfc69
3 changed files with 7 additions and 7 deletions

View file

@ -26,7 +26,7 @@
#include <stringprep.h>
#include <idna.h>
#import <ObjGnuTLS/ObjGnuTLS.h>
#import <ObjOpenSSL/SSLSocket.h>
#import "XMPPConnection.h"
#import "XMPPSCRAMAuth.h"
@ -339,7 +339,7 @@
if ([elem.namespace isEqual: XMPP_NS_STARTTLS]) {
if ([elem.name isEqual: @"proceed"]) {
/* FIXME: Catch errors here */
sock = [[GTLSSocket alloc] initWithSocket: sock];
sock = [[SSLSocket alloc] initWithSocket: sock];
/* Stream restart */
parser.delegate = self;