diff options
author | Karel Slany <karel.slany@nic.cz> | 2014-06-20 15:05:09 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-06-20 15:24:50 +0200 |
commit | 317486161fcf615c4093ac00608b880f2361373f (patch) | |
tree | de11adde7d189f7fa01cb752ccc102a6328dd83d /lib/libtasn1.h | |
parent | 8a7e190c538a1c4077d44762eea4651cb5d58116 (diff) | |
download | libtasn1-317486161fcf615c4093ac00608b880f2361373f.tar.gz |
Renamed asn1_der_decoding_relaxed(), added ASN1_DECODE_FLAG_ALLOW_PADDING.
Diffstat (limited to 'lib/libtasn1.h')
-rw-r--r-- | lib/libtasn1.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libtasn1.h b/lib/libtasn1.h index 4c71849..1e90b73 100644 --- a/lib/libtasn1.h +++ b/lib/libtasn1.h @@ -184,6 +184,9 @@ extern "C" /* makes sure the values are zeroized prior to deinitialization */ #define ASN1_DELETE_FLAG_ZEROIZE 1 +/* Flags used by asn1_der_decoding2(). */ +#define ASN1_DECODE_FLAG_ALLOW_PADDING 1 + struct asn1_data_node_st { @@ -259,8 +262,9 @@ extern "C" void *ider, int *len, char *ErrorDescription); extern ASN1_API int - asn1_der_decoding_relaxed (asn1_node * element, const void *ider, - int *max_ider_len, char *errorDescription); + asn1_der_decoding2 (asn1_node *element, const void *ider, + int *max_ider_len, unsigned int flags, + char *errorDescription); extern ASN1_API int asn1_der_decoding (asn1_node * element, const void *ider, |