Use bg instead of bag as argument to macros, to avoid clashes with
authorRichard Levitte <levitte@openssl.org>
Thu, 27 Jun 2002 09:54:23 +0000 (09:54 +0000)
committerRichard Levitte <levitte@openssl.org>
Thu, 27 Jun 2002 09:54:23 +0000 (09:54 +0000)
structure field names.
PR: 112

crypto/pkcs12/pkcs12.h

index fefa1a6a1f572c584663e9ede6fa73370617df39..08bf15ae372cd8ffb9c09396ea428b7796560a37 100644 (file)
@@ -141,8 +141,8 @@ union {
 #define PKCS12_ERROR   0
 #define PKCS12_OK      1
 
-#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 M_PKCS12_x5092certbag(x509) \