144 Commits (a0afd6ae2cbfcdfc56a355f4b53a6c2583414634)

Author SHA1 Message Date
David Benjamin 248ab81760 Check for invalid CHOICE selectors in i2d functions. 3 years ago
David Benjamin 27b31cfc56 Correctly propagate errors in i2d functions. 3 years ago
David Benjamin 6b7525a9fa Rewrite ASN1_PRINTABLE_type and add tests. 3 years ago
David Benjamin 96181288c5 NUL is not printable. 3 years ago
David Benjamin 8648c53690 Refer to RFCs consistently. 3 years ago
David Benjamin b9ee7b1431 Fix negative ENUMERATED values in multi-strings. 3 years ago
David Benjamin 1b2db8c7c4 Add a test for ASN1_mbstring_copy and clean up. 3 years ago
David Benjamin eb17de499a Remove ASN1_TFLG_SET_ORDER. 3 years ago
David Benjamin b319e3b89f Fix ASN1_STRING_print_ex with negative integers. 3 years ago
David Benjamin e3a3655542 Check i2d_ASN1_TYPE's return value in ASN1_STRING_print_ex. 3 years ago
David Benjamin 4c993da660 Document ASN.1 printing functions. 3 years ago
David Benjamin 07a6628e4b Move some ASN1 printing functions to crypto/asn1. 3 years ago
David Benjamin 0dcbc6e14a Move a_strex.c back to asn1, split X509_NAME bits out. 3 years ago
David Benjamin b9ec9dee56 Remove OPENSSL_NO_FP_API ifdefs. 3 years ago
David Benjamin f8b3961b02 Always use an ASN1_STRING_TABLE global mask of UTF8String. 3 years ago
David Benjamin ead57c3004 Reject years outside 0000-9999 in ASN1_GENERALIZEDTIME_adj. 3 years ago
David Benjamin 46e0523ead Add some tests for time_t to ASN1_TIME conversions. 3 years ago
David Benjamin 046fc130d1 Remove ASN1_STRING_FLAG_MSTRING. 3 years ago
David Benjamin 116d9250a9 Document another batch of functions. 3 years ago
David Benjamin 170045f490 Make ASN1_OBJECT opaque. 3 years ago
David Benjamin e3a7bd0a81 Rename asn1_locl.h to internal.h. 3 years ago
David Benjamin 87be659225 Document ASN1_STRING_to_UTF8. 3 years ago
David Benjamin 5206782846 Compute ASN.1 BIT STRING sizes more consistently. 3 years ago
David Benjamin 198c5f56f6 Fix a memory leak with d2i_ASN1_OBJECT object reuse. 4 years ago
David Benjamin 782d9b6cf7 Const-correct ASN1_OBJECT_create. 4 years ago
David Benjamin 468cde90ca Always encode booleans as DER. 4 years ago
David Benjamin ac85c036d7 Do not access value.ptr with V_ASN1_BOOLEAN. 4 years ago
David Benjamin 3d15a94add Document ASN1_TYPE and related functions. 4 years ago
David Benjamin 4ae71a4c7a Skip ASN.1 template tests in Windows shared library builds. 4 years ago
David Benjamin 92de0b53a7 Reject bad ASN.1 templates with implicitly-tagged CHOICEs. 4 years ago
David Benjamin 43f375699f Remove some unnecessary pointer casts. 4 years ago
David Benjamin 2361677677 Document the basic ASN1_STRING functions. 4 years ago
David Benjamin 2e5f38a1d8 Rearrange ASN1_STRING_copy slightly. 4 years ago
David Benjamin c6ffcde8cd Unwind M_ASN1_* macros for primitive types. 4 years ago
David Benjamin 9bdec296ad Remove ASN1_STRING_FLAG_NDEF. 4 years ago
David Benjamin e4da107b6d Unexport internal crypto/asn1 functions. 4 years ago
David Benjamin 9e282c9a78 Unwind some old ASN.1 ifdefs. 4 years ago
David Benjamin 3de5949ba7 Unwind ASN1_PRIMITIVE_FUNCS. 4 years ago
David Benjamin 45858ae2a4 Unwind ASN1_TFLG_NDEF. 4 years ago
David Benjamin 75a05d1594 Unwind ASN1_ITYPE_COMPAT. 4 years ago
David Benjamin cf1c925ddb Unwind ASN1_AFLG_BROKEN. 4 years ago
David Benjamin 352351b5c0 Remove sk_new_null call. 4 years ago
David Benjamin 6ad3b46b24 Remove ASN1_STRING_length_set. 4 years ago
Adam Langley fb0c05cac2 acvp: add CMAC-AES support. 4 years ago