diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ext/openssl/ossl_ocsp.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Sat Dec 2 07:09:04 2006 GOTOU Yuuzou <gotoyuzo@notwork.org> + + * 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 <nagai@ai.kyutech.ac.jp> * 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); |