1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/openssl/ossl_x509attr.c: change OSSL_X509ATTR_IS_SINGLE and

OSSL_X509ATTR_SET_SINGLE macros to use ->value.set rather than
  ->set to fix compile failure

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
charliesome 2013-06-21 07:39:15 +00:00
parent ab084f4063
commit c500791b3e
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
Fri Jun 21 16:38:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
* ext/openssl/ossl_x509attr.c: change OSSL_X509ATTR_IS_SINGLE and
OSSL_X509ATTR_SET_SINGLE macros to use ->value.set rather than
->set to fix compile failure
Fri Jun 21 15:26:45 2013 Koichi Sasada <ko1@atdot.net>
* gc.c (gc_sweep): profile sweep time correctly when LAZY_SWEEP is

View file

@ -165,8 +165,8 @@ ossl_x509attr_get_oid(VALUE self)
# define OSSL_X509ATTR_IS_SINGLE(attr) ((attr)->single)
# define OSSL_X509ATTR_SET_SINGLE(attr) ((attr)->single = 1)
#else
# define OSSL_X509ATTR_IS_SINGLE(attr) (!(attr)->set)
# define OSSL_X509ATTR_SET_SINGLE(attr) ((attr)->set = 0)
# define OSSL_X509ATTR_IS_SINGLE(attr) (!(attr)->value.set)
# define OSSL_X509ATTR_SET_SINGLE(attr) ((attr)->value.set = 0)
#endif
/*