projects
/
platform
/
upstream
/
libtasn1.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Renamed asn1_der_decoding_relaxed(), added ASN1_DECODE_FLAG_ALLOW_PADDING.
[platform/upstream/libtasn1.git]
/
lib
/
libtasn1.h
diff --git
a/lib/libtasn1.h
b/lib/libtasn1.h
index
4c71849
..
1e90b73
100644
(file)
--- 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
/* 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
{
struct asn1_data_node_st
{
@@
-259,8
+262,9
@@
extern "C"
void *ider, int *len, char *ErrorDescription);
extern ASN1_API int
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,
extern ASN1_API int
asn1_der_decoding (asn1_node * element, const void *ider,