From: sheepman Date: 2006-11-30T22:18:09+09:00 Subject: [ruby-dev:29980] OCSPError.superclass is Object こんばんは、sheepman です。 リファレンスの整備作業をしていて気付いたのですが、 openssl の OpenSSL::OCSP::OCSPError の親クラスが Object になっています。OpenSSL::OpenSSLError が 正しいんだと思います。 $ ruby-1.9 -ropenssl -ve 'p OpenSSL::OCSP::OCSPError.superclass' ruby 1.9.0 (2006-11-26 patchlevel 0) [i686-linux] Object $ cvs diff -u ossl_ocsp.c Index: ossl_ocsp.c =================================================================== RCS file: /src/ruby/ext/openssl/ossl_ocsp.c,v retrieving revision 1.8 diff -u -r1.8 ossl_ocsp.c --- ossl_ocsp.c 2 Sep 2006 14:40:50 -0000 1.8 +++ ossl_ocsp.c 30 Nov 2006 13:14:49 -0000 @@ -681,7 +681,7 @@ { 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); -- sheepman / TAMURA Takashi sheepman@sheepman.sakura.ne.jp