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

ruby-changes:34891

From: zzak <ko1@a...>
Date: Mon, 28 Jul 2014 04:37:26 +0900 (JST)
Subject: [ruby-changes:34891] zzak:r46974 (trunk): * ext/openssl/ossl_hmac.c: Fix NO_HMAC warning [Fixes GH-665]

zzak	2014-07-28 04:37:10 +0900 (Mon, 28 Jul 2014)

  New Revision: 46974

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

  Log:
    * ext/openssl/ossl_hmac.c: Fix NO_HMAC warning [Fixes GH-665]
      Patched by @vipulnsward https://github.com/ruby/ruby/pull/665

  Modified files:
    trunk/ChangeLog
    trunk/ext/openssl/ossl_hmac.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 46973)
+++ ChangeLog	(revision 46974)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon Jul 28 04:35:35 2014  Zachary Scott  <e@z...>
+
+	* ext/openssl/ossl_hmac.c: Fix NO_HMAC warning [Fixes GH-665]
+	  Patched by @vipulnsward https://github.com/ruby/ruby/pull/665
+
 Sun Jul 27 19:49:36 2014  SHIBATA Hiroshi  <shibata.hiroshi@g...>
 
 	* lib/cgi/core.rb: remove unused variables.
Index: ext/openssl/ossl_hmac.c
===================================================================
--- ext/openssl/ossl_hmac.c	(revision 46973)
+++ ext/openssl/ossl_hmac.c	(revision 46974)
@@ -359,6 +359,6 @@ Init_ossl_hmac() https://github.com/ruby/ruby/blob/trunk/ext/openssl/ossl_hmac.c#L359
 void
 Init_ossl_hmac()
 {
-    rb_warning("HMAC will NOT be avaible: OpenSSL is compiled without HMAC.");
+    rb_warning("HMAC is not available: OpenSSL is compiled without HMAC.");
 }
 #endif /* NO_HMAC */

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

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