From 2e32ad816398bba5557e4e5bbd7fa50b5d96aced Mon Sep 17 00:00:00 2001 From: drbrain Date: Wed, 19 Oct 2011 21:05:05 +0000 Subject: * ext/openssl/ossl_ns_spki.c (Init_ossl_ns_spki): Stub documentation for Netscape SPKI. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/openssl/ossl_ns_spki.c | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'ext/openssl/ossl_ns_spki.c') 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); -- cgit v1.2.3