summaryrefslogtreecommitdiff
path: root/lib/libtasn1.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libtasn1.h')
-rw-r--r--lib/libtasn1.h8
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,