diff --git a/ChangeLog b/ChangeLog index 3251287991..a51763db7e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Oct 20 05:58:02 2011 Eric Hodel + + * ext/openssl/ossl_ns_spki.c (Init_ossl_ns_spki): Stub documentation + for Netscape SPKI. + Thu Oct 20 05:13:39 2011 Ryan Davis * lib/minitest/*: Imported minitest 2.6.2 (r6712) diff --git a/ext/openssl/ossl_ns_spki.c b/ext/openssl/ossl_ns_spki.c index bf828cbb83..acfc028a5e 100644 --- a/ext/openssl/ossl_ns_spki.c +++ b/ext/openssl/ossl_ns_spki.c @@ -228,12 +228,25 @@ ossl_spki_verify(VALUE self, VALUE key) return Qnil; /* dummy */ } -/* - * NETSCAPE_SPKI init +/* Document-class: OpenSSL::Netscape::SPKI + * + * A Simple Public Key Infrastructure implementation (pronounced "spookey"). + * See {RFC 2692}[http://tools.ietf.org/html/rfc2692] and {RFC + * 2693}[http://tools.ietf.org/html/rfc2692] for details. + */ + +/* Document-module: OpenSSL::Netscape + * + * OpenSSL::Netscape is a namespace for SPKI (Simple Public Key + * Infrastructure) which implements Signed Public Key and Challenge. */ void Init_ossl_ns_spki() { +#if 0 + mOSSL = rb_define_module("OpenSSL"); /* let rdoc know about mOSSL */ +#endif + mNetscape = rb_define_module_under(mOSSL, "Netscape"); eSPKIError = rb_define_class_under(mNetscape, "SPKIError", eOSSLError);