1## 2# HACK: this drives me BONKERS 3 4if defined? OpenSSL then 5 class OpenSSL::X509::ExtensionFactory 6 alias :old_create_ext :create_ext 7 def create_ext(*args) 8 @config ||= nil 9 old_create_ext(*args) 10 end 11 end 12end if RUBY_VERSION < "1.9" 13