diff options
author | akr <akr@ruby-lang.org> | 2011-03-02 12:15:50 +0000 |
---|---|---|
committer | akr <akr@ruby-lang.org> | 2011-03-02 12:15:50 +0000 |
commit | 591819039f2cf35357fe6704445d752a3bde20be (patch) | |
tree | 68d748f6346005cdba1440799c3870bb2cad1ceb /ext | |
parent | 31b909ea796d40d891c4f0551b0410a0981120f5 (diff) | |
download | ruby-openssl-history-591819039f2cf35357fe6704445d752a3bde20be.tar.gz |
* 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
Diffstat (limited to 'ext')
-rw-r--r-- | ext/openssl/ossl_pkey_dh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/openssl/ossl_pkey_dh.c b/ext/openssl/ossl_pkey_dh.c index 5ea575e..4311fa1 100644 --- a/ext/openssl/ossl_pkey_dh.c +++ b/ext/openssl/ossl_pkey_dh.c @@ -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) |