mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/openssl/ossl_pkey_dsa.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d0403176fb
commit
27bb573c06
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_dsa.c: parenthesize macro arguments.
|
||||
|
||||
Thu Mar 3 22:10:26 2011 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* process.c (check_exec_redirect_fd, check_exec_redirect): raise
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
#include "ossl.h"
|
||||
|
||||
#define GetPKeyDSA(obj, pkey) do { \
|
||||
GetPKey(obj, pkey); \
|
||||
if (EVP_PKEY_type(pkey->type) != EVP_PKEY_DSA) { /* PARANOIA? */ \
|
||||
GetPKey((obj), (pkey)); \
|
||||
if (EVP_PKEY_type((pkey)->type) != EVP_PKEY_DSA) { /* PARANOIA? */ \
|
||||
ossl_raise(rb_eRuntimeError, "THIS IS NOT A DSA!"); \
|
||||
} \
|
||||
} while (0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue