diff --git a/ChangeLog b/ChangeLog index 4917e389ee..7e5a4e2654 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 16:31:53 2006 Hidetoshi NAGAI * ext/tk/tcltklib.c: shouldn't run the killed thread at callback. diff --git a/ext/openssl/ossl_ocsp.c b/ext/openssl/ossl_ocsp.c index aa6bd61b3c..1e8e5903bd 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);