Don't free the context.
This commit is contained in:
parent
0b7a6fdac0
commit
36b485e48f
1 changed files with 0 additions and 3 deletions
|
@ -73,7 +73,6 @@ static SSL_CTX *ctx;
|
|||
|
||||
- (void)dealloc
|
||||
{
|
||||
SSL_CTX *ctx_ = ctx;
|
||||
SSL *ssl_ = ssl;
|
||||
|
||||
[privateKeyFile release];
|
||||
|
@ -83,8 +82,6 @@ static SSL_CTX *ctx;
|
|||
|
||||
if (ssl_ != NULL)
|
||||
SSL_free(ssl_);
|
||||
if (ctx_ != NULL)
|
||||
SSL_CTX_free(ctx_);
|
||||
}
|
||||
|
||||
- (void)connectToHost: (OFString*)host
|
||||
|
|
Reference in a new issue