mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/openssl/ossl_pkey_dh.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
31fcc22365
commit
e1e8297a76
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
Wed Mar 2 21:15:00 2011 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* ext/openssl/ossl_pkey_dh.c: parenthesize macro arguments.
|
||||
|
||||
Wed Mar 2 14:24:04 2011 Shota Fukumori <sorah@tubusu.net>
|
||||
|
||||
* lib/test/unit/parallel.rb: Fix name from `inclement_io` to
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
#include "ossl.h"
|
||||
|
||||
#define GetPKeyDH(obj, pkey) do { \
|
||||
GetPKey(obj, pkey); \
|
||||
if (EVP_PKEY_type(pkey->type) != EVP_PKEY_DH) { /* PARANOIA? */ \
|
||||
GetPKey((obj), (pkey)); \
|
||||
if (EVP_PKEY_type((pkey)->type) != EVP_PKEY_DH) { /* PARANOIA? */ \
|
||||
ossl_raise(rb_eRuntimeError, "THIS IS NOT A DH!") ; \
|
||||
} \
|
||||
} while (0)
|
||||
|
|
Loading…
Add table
Reference in a new issue