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

ruby-changes:20128

From: nahi <ko1@a...>
Date: Mon, 20 Jun 2011 18:48:12 +0900 (JST)
Subject: [ruby-changes:20128] nahi:r32176 (trunk): * ext/openssl/ossl_cipher.c, ext/openssl/lib/openssl/cipher.rb:

nahi	2011-06-20 18:48:05 +0900 (Mon, 20 Jun 2011)

  New Revision: 32176

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

  Log:
    * ext/openssl/ossl_cipher.c, ext/openssl/lib/openssl/cipher.rb:
      Documentation fix by Ippei Obayashi. See #4419.

  Modified files:
    trunk/ChangeLog
    trunk/ext/openssl/lib/openssl/cipher.rb
    trunk/ext/openssl/ossl_cipher.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 32175)
+++ ChangeLog	(revision 32176)
@@ -1,3 +1,8 @@
+Mon Jun 20 18:46:02 2011  Hiroshi Nakamura  <nahi@r...>
+
+	* ext/openssl/ossl_cipher.c, ext/openssl/lib/openssl/cipher.rb:
+	  Documentation fix by Ippei Obayashi. See #4419.
+
 Mon Jun 20 15:41:33 2011  Hiroshi Nakamura  <nahi@r...>
 
 	* lib/webrick/cookie.rb (WEBrick::Cookie.parse): Revert r31228.
Index: ext/openssl/ossl_cipher.c
===================================================================
--- ext/openssl/ossl_cipher.c	(revision 32175)
+++ ext/openssl/ossl_cipher.c	(revision 32176)
@@ -444,7 +444,7 @@
 
 /*
  *  call-seq:
- *     cipher.key_length = integer -> integer
+ *     cipher.key_len = integer -> integer
  *
  *  Sets the key length of the cipher.  If the cipher is a fixed length cipher then attempting to set the key
  *  length to any value other than the fixed value is an error.
@@ -507,13 +507,13 @@
 #if 0
 /*
  *  call-seq:
- *     cipher.key_length -> integer
+ *     cipher.key_len -> integer
  *
  */
 static VALUE ossl_cipher_key_length() { }
 /*
  *  call-seq:
- *     cipher.iv_length -> integer
+ *     cipher.iv_len -> integer
  *
  */
 static VALUE ossl_cipher_iv_length() { }
Index: ext/openssl/lib/openssl/cipher.rb
===================================================================
--- ext/openssl/lib/openssl/cipher.rb	(revision 32175)
+++ ext/openssl/lib/openssl/cipher.rb	(revision 32176)
@@ -53,7 +53,7 @@
       return str
     end
 
-    # This class is only provided for backwards compatibility.  Use OpenSSL::Digest in the future.
+    # This class is only provided for backwards compatibility.  Use OpenSSL::Cipher in the future.
     class Cipher < Cipher
       # add warning
     end

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

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