ObjOpenSSL  Diff

Differences From Artifact [65706beec9]:

To Artifact [db77c4ed01]:


130
131
132
133
134
135
136

137
138
139

140
141
142
143
144
145
146
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148







+



+








	SSL_library_init();

	if ((ctx = SSL_CTX_new(SSLv23_method())) == NULL)
		@throw [OFInitializationFailedException
		    exceptionWithClass: self];

#if SSL_OP_NO_SSLv2 != 0
	if ((SSL_CTX_set_options(ctx, SSL_OP_NO_SSLv2) & SSL_OP_NO_SSLv2) == 0)
		@throw [OFInitializationFailedException
		    exceptionWithClass: self];
#endif

	if (SSL_CTX_set_default_verify_paths(ctx) == 0)
		@throw [OFInitializationFailedException
		    exceptionWithClass: self];
}

- init