[前][次][番号順一覧][スレッド一覧]

ruby-changes:21439

From: drbrain <ko1@a...>
Date: Thu, 20 Oct 2011 06:07:01 +0900 (JST)
Subject: [ruby-changes:21439] drbrain:r33488 (trunk): * ext/openssl/ossl_ns_spki.c (Init_ossl_ns_spki): Stub documentation

drbrain	2011-10-20 06:05:05 +0900 (Thu, 20 Oct 2011)

  New Revision: 33488

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=33488

  Log:
    * ext/openssl/ossl_ns_spki.c (Init_ossl_ns_spki):  Stub documentation
      for Netscape SPKI.

  Modified files:
    trunk/ChangeLog
    trunk/ext/openssl/ossl_ns_spki.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 33487)
+++ ChangeLog	(revision 33488)
@@ -1,3 +1,8 @@
+Thu Oct 20 05:58:02 2011  Eric Hodel  <drbrain@s...>
+
+	* ext/openssl/ossl_ns_spki.c (Init_ossl_ns_spki):  Stub documentation
+	  for Netscape SPKI.
+
 Thu Oct 20 05:13:39 2011  Ryan Davis  <ryan@l...>
 
 	* lib/minitest/*: Imported minitest 2.6.2 (r6712)
Index: ext/openssl/ossl_ns_spki.c
===================================================================
--- ext/openssl/ossl_ns_spki.c	(revision 33487)
+++ ext/openssl/ossl_ns_spki.c	(revision 33488)
@@ -228,12 +228,25 @@
     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);

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]