diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/openssl/ossl_x509attr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/openssl/ossl_x509attr.c b/ext/openssl/ossl_x509attr.c index 1f36ca8b12..d50f88c969 100644 --- a/ext/openssl/ossl_x509attr.c +++ b/ext/openssl/ossl_x509attr.c @@ -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 /* |