ruby-changes:43449
From: ngoto <ko1@a...>
Date: Tue, 28 Jun 2016 18:42:34 +0900 (JST)
Subject: [ruby-changes:43449] ngoto:r55523 (trunk): * ext/digest/md5/md5ossl.h: Remove excess semicolons.
ngoto 2016-06-28 18:42:29 +0900 (Tue, 28 Jun 2016) New Revision: 55523 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55523 Log: * ext/digest/md5/md5ossl.h: Remove excess semicolons. Suppress warning on Solaris with Oracle Solaris Studio 12. [ruby-dev:49692] [Bug #12524] * ext/digest/md5/md5cc.h: ditto. * ext/digest/sha1/sha1cc.h: ditto. * ext/digest/sha1/sha1ossl.h: ditto. * ext/digest/sha2/sha2cc.h: ditto. * ext/digest/sha2/sha2ossl.h: ditto. * ext/openssl/ossl_pkey_rsa.c: ditto. Modified files: trunk/ChangeLog trunk/ext/digest/md5/md5cc.h trunk/ext/digest/md5/md5ossl.h trunk/ext/digest/sha1/sha1cc.h trunk/ext/digest/sha1/sha1ossl.h trunk/ext/digest/sha2/sha2cc.h trunk/ext/digest/sha2/sha2ossl.h trunk/ext/openssl/ossl_pkey_rsa.c Index: ext/openssl/ossl_pkey_rsa.c =================================================================== --- ext/openssl/ossl_pkey_rsa.c (revision 55522) +++ ext/openssl/ossl_pkey_rsa.c (revision 55523) @@ -656,9 +656,9 @@ ossl_rsa_blinding_off(VALUE self) https://github.com/ruby/ruby/blob/trunk/ext/openssl/ossl_pkey_rsa.c#L656 } */ -OSSL_PKEY_BN_DEF3(rsa, RSA, key, n, e, d); -OSSL_PKEY_BN_DEF2(rsa, RSA, factors, p, q); -OSSL_PKEY_BN_DEF3(rsa, RSA, crt_params, dmp1, dmq1, iqmp); +OSSL_PKEY_BN_DEF3(rsa, RSA, key, n, e, d) +OSSL_PKEY_BN_DEF2(rsa, RSA, factors, p, q) +OSSL_PKEY_BN_DEF3(rsa, RSA, crt_params, dmp1, dmq1, iqmp) /* * INIT Index: ext/digest/sha1/sha1ossl.h =================================================================== --- ext/digest/sha1/sha1ossl.h (revision 55522) +++ ext/digest/sha1/sha1ossl.h (revision 55523) @@ -15,7 +15,7 @@ https://github.com/ruby/ruby/blob/trunk/ext/digest/sha1/sha1ossl.h#L15 #endif #define SHA1_DIGEST_LENGTH SHA_DIGEST_LENGTH -static DEFINE_FINISH_FUNC_FROM_FINAL(SHA1); +static DEFINE_FINISH_FUNC_FROM_FINAL(SHA1) #undef SHA1_Finish #define SHA1_Finish rb_digest_SHA1_finish Index: ext/digest/sha1/sha1cc.h =================================================================== --- ext/digest/sha1/sha1cc.h (revision 55522) +++ ext/digest/sha1/sha1cc.h (revision 55523) @@ -5,8 +5,8 @@ https://github.com/ruby/ruby/blob/trunk/ext/digest/sha1/sha1cc.h#L5 #define SHA1_DIGEST_LENGTH CC_SHA1_DIGEST_LENGTH #define SHA1_CTX CC_SHA1_CTX -static DEFINE_UPDATE_FUNC_FOR_UINT(SHA1); -static DEFINE_FINISH_FUNC_FROM_FINAL(SHA1); +static DEFINE_UPDATE_FUNC_FOR_UINT(SHA1) +static DEFINE_FINISH_FUNC_FROM_FINAL(SHA1) #undef SHA1_Update #undef SHA1_Finish Index: ext/digest/sha2/sha2ossl.h =================================================================== --- ext/digest/sha2/sha2ossl.h (revision 55522) +++ ext/digest/sha2/sha2ossl.h (revision 55523) @@ -20,8 +20,8 @@ typedef SHA512_CTX SHA384_CTX; https://github.com/ruby/ruby/blob/trunk/ext/digest/sha2/sha2ossl.h#L20 #define SHA256_Finish rb_digest_SHA256_finish #define SHA384_Finish rb_digest_SHA384_finish #define SHA512_Finish rb_digest_SHA512_finish -static DEFINE_FINISH_FUNC_FROM_FINAL(SHA256); -static DEFINE_FINISH_FUNC_FROM_FINAL(SHA384); -static DEFINE_FINISH_FUNC_FROM_FINAL(SHA512); +static DEFINE_FINISH_FUNC_FROM_FINAL(SHA256) +static DEFINE_FINISH_FUNC_FROM_FINAL(SHA384) +static DEFINE_FINISH_FUNC_FROM_FINAL(SHA512) #endif Index: ext/digest/sha2/sha2cc.h =================================================================== --- ext/digest/sha2/sha2cc.h (revision 55522) +++ ext/digest/sha2/sha2cc.h (revision 55523) @@ -7,12 +7,12 @@ https://github.com/ruby/ruby/blob/trunk/ext/digest/sha2/sha2cc.h#L7 #define SHA384_CTX CC_SHA512_CTX -static DEFINE_UPDATE_FUNC_FOR_UINT(SHA256); -static DEFINE_FINISH_FUNC_FROM_FINAL(SHA256); -static DEFINE_UPDATE_FUNC_FOR_UINT(SHA384); -static DEFINE_FINISH_FUNC_FROM_FINAL(SHA384); -static DEFINE_UPDATE_FUNC_FOR_UINT(SHA512); -static DEFINE_FINISH_FUNC_FROM_FINAL(SHA512); +static DEFINE_UPDATE_FUNC_FOR_UINT(SHA256) +static DEFINE_FINISH_FUNC_FROM_FINAL(SHA256) +static DEFINE_UPDATE_FUNC_FOR_UINT(SHA384) +static DEFINE_FINISH_FUNC_FROM_FINAL(SHA384) +static DEFINE_UPDATE_FUNC_FOR_UINT(SHA512) +static DEFINE_FINISH_FUNC_FROM_FINAL(SHA512) #undef SHA256_Update Index: ext/digest/md5/md5cc.h =================================================================== --- ext/digest/md5/md5cc.h (revision 55522) +++ ext/digest/md5/md5cc.h (revision 55523) @@ -3,8 +3,8 @@ https://github.com/ruby/ruby/blob/trunk/ext/digest/md5/md5cc.h#L3 #define MD5_BLOCK_LENGTH CC_MD5_BLOCK_BYTES -static DEFINE_UPDATE_FUNC_FOR_UINT(MD5); -static DEFINE_FINISH_FUNC_FROM_FINAL(MD5); +static DEFINE_UPDATE_FUNC_FOR_UINT(MD5) +static DEFINE_FINISH_FUNC_FROM_FINAL(MD5) #undef MD5_Update #undef MD5_Finish Index: ext/digest/md5/md5ossl.h =================================================================== --- ext/digest/md5/md5ossl.h (revision 55522) +++ ext/digest/md5/md5ossl.h (revision 55523) @@ -8,7 +8,7 @@ https://github.com/ruby/ruby/blob/trunk/ext/digest/md5/md5ossl.h#L8 #define MD5_BLOCK_LENGTH MD5_CBLOCK -static DEFINE_FINISH_FUNC_FROM_FINAL(MD5); +static DEFINE_FINISH_FUNC_FROM_FINAL(MD5) #undef MD5_Finish #define MD5_Finish rb_digest_MD5_finish Index: ChangeLog =================================================================== --- ChangeLog (revision 55522) +++ ChangeLog (revision 55523) @@ -1,3 +1,16 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Tue Jun 28 18:38:09 2016 Naohisa Goto <ngotogenome@g...> + + * ext/digest/md5/md5ossl.h: Remove excess semicolons. + Suppress warning on Solaris with Oracle Solaris Studio 12. + [ruby-dev:49692] [Bug #12524] + + * ext/digest/md5/md5cc.h: ditto. + * ext/digest/sha1/sha1cc.h: ditto. + * ext/digest/sha1/sha1ossl.h: ditto. + * ext/digest/sha2/sha2cc.h: ditto. + * ext/digest/sha2/sha2ossl.h: ditto. + * ext/openssl/ossl_pkey_rsa.c: ditto. + Tue Jun 28 15:56:48 2016 Nobuyoshi Nakada <nobu@r...> * test/ruby/enc/test_case_comprehensive.rb: noting to test if -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/