patch-ldap_c 502 B

12345678910111213
  1. --- ruby-ldap-0.9.8.orig/ldap.c 2009-03-25 10:25:27.000000000 +0100
  2. +++ ruby-ldap-0.9.8/ldap.c 2011-11-15 10:22:06.187664814 +0100
  3. @@ -420,8 +420,8 @@ Init_ldap ()
  4. #ifdef LDAP_OPT_X_TLS
  5. rb_ldap_define_opt (LDAP_OPT_X_TLS);
  6. #endif
  7. -#ifdef LDAP_OPT_X_TLS_PROTOCOL
  8. - rb_ldap_define_opt (LDAP_OPT_X_TLS_PROTOCOL);
  9. +#ifdef LDAP_OPT_X_TLS_PROTOCOL_MIN
  10. + rb_ldap_define_opt (LDAP_OPT_X_TLS_PROTOCOL_MIN);
  11. #endif
  12. #ifdef LDAP_OPT_X_TLS_CIPHER_SUITE
  13. rb_ldap_define_opt (LDAP_OPT_X_TLS_CIPHER_SUITE);