diff options
author | Ben Laurie <ben@openssl.org> | 1999-06-04 22:23:10 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 1999-06-04 22:23:10 +0000 |
commit | 84c15db551ce1d167b901a3bde2b21880b084384 (patch) | |
tree | 77daf2efeb616ef657009c821046a6bd756e0c54 /crypto/asn1/asn1_mac.h | |
parent | ca570cfdbcaf35ba7e2554fd18eda8cfab2176e4 (diff) | |
download | openssl-84c15db551ce1d167b901a3bde2b21880b084384.tar.gz |
Some constification and stacks that slipped through the cracks (how?).
Diffstat (limited to 'crypto/asn1/asn1_mac.h')
-rw-r--r-- | crypto/asn1/asn1_mac.h | 5 |
1 files changed, 5 insertions, 0 deletions
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); |