diff --git a/ChangeLog b/ChangeLog index 47880da524..44bfb41fee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat Dec 2 07:09:04 2006 GOTOU Yuuzou + + * ext/openssl/ossl_ocsp.c: OpenSSL::OCSP::OSCPError should be + subclass of OpenSSL::OpenSSLError. [ruby-dev:29980] + Fri Dec 1 17:01:49 2006 NAKAMURA Usaku * gc.c (ruby_init_stack): decrease "stack level too deep" in Windows. diff --git a/ext/openssl/ossl_ocsp.c b/ext/openssl/ossl_ocsp.c index b1e721c24c..b5ea9dadf5 100644 --- a/ext/openssl/ossl_ocsp.c +++ b/ext/openssl/ossl_ocsp.c @@ -681,7 +681,7 @@ Init_ossl_ocsp() { mOCSP = rb_define_module_under(mOSSL, "OCSP"); - eOCSPError = rb_define_class_under(mOCSP, "OCSPError", rb_cObject); + eOCSPError = rb_define_class_under(mOCSP, "OCSPError", eOSSLError); cOCSPReq = rb_define_class_under(mOCSP, "Request", rb_cObject); rb_define_alloc_func(cOCSPReq, ossl_ocspreq_alloc);