Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 585672
Collapse All | Expand All

(-)a/uim/openssl.c (+30 lines)
Lines 208-241 c_SSL_write(uim_lisp s_, uim_lisp buf_) Link Here
208
static uim_lisp
208
static uim_lisp
209
c_SSLv2_method(void)
209
c_SSLv2_method(void)
210
{
210
{
211
#ifndef OPENSSL_NO_SSL2
211
  return MAKE_PTR(SSLv2_method());
212
  return MAKE_PTR(SSLv2_method());
213
#else
214
  uim_notify_fatal(N_("uim-openssl: SSLv2_method() is not supported on this system"));
215
  return uim_scm_f();
216
#endif
212
}
217
}
213
static uim_lisp
218
static uim_lisp
214
c_SSLv2_server_method(void)
219
c_SSLv2_server_method(void)
215
{
220
{
221
#ifndef OPENSSL_NO_SSL2
216
  return MAKE_PTR(SSLv2_server_method());
222
  return MAKE_PTR(SSLv2_server_method());
223
#else
224
  uim_notify_fatal(N_("uim-openssl: SSLv2_server_method() is not supported on this system"));
225
  return uim_scm_f();
226
#endif
217
}
227
}
218
static uim_lisp
228
static uim_lisp
219
c_SSLv2_client_method(void)
229
c_SSLv2_client_method(void)
220
{
230
{
231
#ifndef OPENSSL_NO_SSL2
221
  return MAKE_PTR(SSLv2_client_method());
232
  return MAKE_PTR(SSLv2_client_method());
233
#else
234
  uim_notify_fatal(N_("uim-openssl: SSLv2_client_method() is not supported on this system"));
235
  return uim_scm_f();
236
#endif
222
}
237
}
223
238
224
/* SSLv3 */
239
/* SSLv3 */
225
static uim_lisp
240
static uim_lisp
226
c_SSLv3_method(void)
241
c_SSLv3_method(void)
227
{
242
{
243
#ifndef OPENSSL_NO_SSL3
228
  return MAKE_PTR(SSLv3_method());
244
  return MAKE_PTR(SSLv3_method());
245
#else
246
  uim_notify_fatal(N_("uim-openssl: SSLv3_method() is not supported on this system"));
247
  return uim_scm_f();
248
#endif
229
}
249
}
230
static uim_lisp
250
static uim_lisp
231
c_SSLv3_server_method(void)
251
c_SSLv3_server_method(void)
232
{
252
{
253
#ifndef OPENSSL_NO_SSL3
233
  return MAKE_PTR(SSLv3_server_method());
254
  return MAKE_PTR(SSLv3_server_method());
255
#else
256
  uim_notify_fatal(N_("uim-openssl: SSLv3_server_method() is not supported on this system"));
257
  return uim_scm_f();
258
#endif
234
}
259
}
235
static uim_lisp
260
static uim_lisp
236
c_SSLv3_client_method(void)
261
c_SSLv3_client_method(void)
237
{
262
{
263
#ifndef OPENSSL_NO_SSL3
238
  return MAKE_PTR(SSLv3_client_method());
264
  return MAKE_PTR(SSLv3_client_method());
265
#else
266
  uim_notify_fatal(N_("uim-openssl: SSLv3_client_method() is not supported on this system"));
267
  return uim_scm_f();
268
#endif
239
}
269
}
240
270
241
/* SSLv3 but can rollback to v2 */
271
/* SSLv3 but can rollback to v2 */

Return to bug 585672