diff options
author | Richard Levitte <levitte@openssl.org> | 2002-06-27 09:54:07 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-06-27 09:54:07 +0000 |
commit | 0df748e7e2b2c3029ee152f96f89ed23690bda39 (patch) | |
tree | ed3e7b8a35fef74ecd4f394511c40e37ac19cd73 /crypto/pkcs12/pkcs12.h | |
parent | 1fbcfbe6930bf648752320da163e693a1176e805 (diff) | |
download | openssl-0df748e7e2b2c3029ee152f96f89ed23690bda39.tar.gz |
Use bg instead of bag as argument to macros, to avoid clashes with
structure field names.
PR: 112
Diffstat (limited to 'crypto/pkcs12/pkcs12.h')
-rw-r--r-- | crypto/pkcs12/pkcs12.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/pkcs12/pkcs12.h b/crypto/pkcs12/pkcs12.h index 1786b6d4f3..dd338f266c 100644 --- a/crypto/pkcs12/pkcs12.h +++ b/crypto/pkcs12/pkcs12.h @@ -156,8 +156,8 @@ union { #define M_PKCS12_decrypt_skey PKCS12_decrypt_skey #define M_PKCS8_decrypt PKCS8_decrypt -#define M_PKCS12_bag_type(bag) OBJ_obj2nid(bag->type) -#define M_PKCS12_cert_bag_type(bag) OBJ_obj2nid(bag->value.bag->type) +#define M_PKCS12_bag_type(bg) OBJ_obj2nid((bg)->type) +#define M_PKCS12_cert_bag_type(bg) OBJ_obj2nid((bg)->value.bag->type) #define M_PKCS12_crl_bag_type M_PKCS12_cert_bag_type #define PKCS12_get_attr(bag, attr_nid) \ |