aboutsummaryrefslogtreecommitdiffstats
path: root/ext/openssl/ossl_pkey.c
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2016-07-07 16:39:36 +0900
committerKazuki Yamaguchi <k@rhe.jp>2016-07-09 15:46:10 +0900
commit333899460950905622de50cd11593d6034211745 (patch)
treed061c4f8baaf4ce0e11025c8feeafee1a8079a4a /ext/openssl/ossl_pkey.c
parentf010efa753c7e892700926200713753db151b6c8 (diff)
downloadruby-openssl-333899460950905622de50cd11593d6034211745.tar.gz
Fix RDoc styletopic/rdoc-fixes
Diffstat (limited to 'ext/openssl/ossl_pkey.c')
-rw-r--r--ext/openssl/ossl_pkey.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/ext/openssl/ossl_pkey.c b/ext/openssl/ossl_pkey.c
index 4ae8e14e..35e75d9f 100644
--- a/ext/openssl/ossl_pkey.c
+++ b/ext/openssl/ossl_pkey.c
@@ -128,11 +128,11 @@ ossl_pkey_new_from_file(VALUE filename)
*
* === Parameters
* * +string+ is a DER- or PEM-encoded string containing an arbitrary private
- * or public key.
+ * or public key.
* * +file+ is an instance of +File+ containing a DER- or PEM-encoded
- * arbitrary private or public key.
+ * arbitrary private or public key.
* * +pwd+ is an optional password in case +string+ or +file+ is an encrypted
- * PEM resource.
+ * PEM resource.
*/
static VALUE
ossl_pkey_new_from_data(int argc, VALUE *argv, VALUE self)
@@ -352,7 +352,8 @@ void
Init_ossl_pkey(void)
{
#if 0
- mOSSL = rb_define_module("OpenSSL"); /* let rdoc know about mOSSL */
+ mOSSL = rb_define_module("OpenSSL");
+ eOSSLError = rb_define_class_under(mOSSL, "OpenSSLError", rb_eStandardError);
#endif
/* Document-module: OpenSSL::PKey