ObjOpenSSL  Check-in [3a852cab76]

Overview
Comment:Don't free the context.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 3a852cab7628f4e332e95d994b41ab46b514500b53776784f499fb9ee9881db8
User & Date: js on 2011-04-28 18:02:19
Other Links: manifest | tags
Context
2011-06-08
21:17
Adjust to API changes in ObjFW. check-in: 0448edfa2c user: js tags: trunk
2011-04-28
18:02
Don't free the context. check-in: 3a852cab76 user: js tags: trunk
2011-04-23
19:54
Adjust to recent ObjFW changes. check-in: a25be8be43 user: js tags: trunk
Changes

Modified src/SSLSocket.m from [31066db878] to [9a89d7a5eb].

69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
	}

	return self;
}

- (void)dealloc
{
	SSL_CTX *ctx_ = ctx;
	SSL *ssl_ = ssl;

	[privateKeyFile release];
	[certificateFile release];

	[super dealloc];

	if (ssl_ != NULL)
		SSL_free(ssl_);
	if (ctx_ != NULL)
		SSL_CTX_free(ctx_);
}

- (void)connectToHost: (OFString*)host
	       onPort: (uint16_t)port
{
	[super connectToHost: host
		      onPort: port];







<









<
<







69
70
71
72
73
74
75

76
77
78
79
80
81
82
83
84


85
86
87
88
89
90
91
	}

	return self;
}

- (void)dealloc
{

	SSL *ssl_ = ssl;

	[privateKeyFile release];
	[certificateFile release];

	[super dealloc];

	if (ssl_ != NULL)
		SSL_free(ssl_);


}

- (void)connectToHost: (OFString*)host
	       onPort: (uint16_t)port
{
	[super connectToHost: host
		      onPort: port];