From 84c15db551ce1d167b901a3bde2b21880b084384 Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Fri, 4 Jun 1999 22:23:10 +0000 Subject: Some constification and stacks that slipped through the cracks (how?). --- crypto/asn1/asn1_mac.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'crypto/asn1/asn1_mac.h') diff --git a/crypto/asn1/asn1_mac.h b/crypto/asn1/asn1_mac.h index a1bbfddc7f..42825f5485 100644 --- a/crypto/asn1/asn1_mac.h +++ b/crypto/asn1/asn1_mac.h @@ -163,6 +163,11 @@ err:\ V_ASN1_CONSTRUCTED|V_ASN1_SET)))\ { M_ASN1_D2I_get_set(r,func,free_func); } +#define M_ASN1_D2I_get_set_opt_type(type,r,func,free_func) \ + if ((c.slen != 0) && (M_ASN1_next == (V_ASN1_UNIVERSAL| \ + V_ASN1_CONSTRUCTED|V_ASN1_SET)))\ + { M_ASN1_D2I_get_set_type(type,r,func,free_func); } + #define M_ASN1_I2D_len_SET_opt(a,f) \ if ((a != NULL) && (sk_num(a) != 0)) \ M_ASN1_I2D_len_SET(a,f); -- cgit v1.2.3