aboutsummaryrefslogtreecommitdiff
path: root/openssl/crypto/asn1/asn1_mac.h
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/crypto/asn1/asn1_mac.h')
-rw-r--r--openssl/crypto/asn1/asn1_mac.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/openssl/crypto/asn1/asn1_mac.h b/openssl/crypto/asn1/asn1_mac.h
index d958ca60d..87bd0e9e1 100644
--- a/openssl/crypto/asn1/asn1_mac.h
+++ b/openssl/crypto/asn1/asn1_mac.h
@@ -153,6 +153,13 @@ err:\
M_ASN1_D2I_get(b,func); \
}
+#define M_ASN1_D2I_get_int_opt(b,func,type) \
+ if ((c.slen != 0) && ((M_ASN1_next & (~V_ASN1_CONSTRUCTED)) \
+ == (V_ASN1_UNIVERSAL|(type)))) \
+ { \
+ M_ASN1_D2I_get_int(b,func); \
+ }
+
#define M_ASN1_D2I_get_imp(b,func, type) \
M_ASN1_next=(_tmp& V_ASN1_CONSTRUCTED)|type; \
c.q=c.p; \