ObjOpenSSL  Check-in [0448edfa2c]

Overview
Comment:Adjust to API changes in ObjFW.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 0448edfa2cf1e47c0fb0a1dc7b9e23350d30604345b9b23d3707eaee8bbd6a1b
User & Date: js on 2011-06-08 21:17:25
Other Links: manifest | tags
Context
2011-06-08
21:20
Add ObjOpenSSL.h so it can be properly used as a MacOS X framework. check-in: a540150878 user: js tags: trunk
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
Changes

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

81
82
83
84
85
86
87
88

89
90
91

92
93
94
95
96
97
98
81
82
83
84
85
86
87

88
89
90

91
92
93
94
95
96
97
98







-
+


-
+







	[super dealloc];

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

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

	if ((ssl = SSL_new(ctx)) == NULL || !SSL_set_fd(ssl, sock)) {
		[super close];
		@throw [OFConnectionFailedException newWithClass: isa
							  socket: self
							    host: host
							    port: port];