summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/asn1
AgeCommit message (Expand)AuthorFilesLines
2020-12-16Remove two reduntat memset calls.tb1-2/+1
2020-12-16Avoid potential use of uninitialized in ASN1_time_parsetb1-4/+3
2020-12-08Fix a NULL dereference in GENERAL_NAME_cmp()tb5-5/+48
2020-09-03Clean up asn1/x_info.ctb1-22/+9
2020-09-03Remove unnecessary zeroing after recallocarray(3)tb1-3/+1
2020-06-04When X509_ATTRIBUTE_create() receives an invalid NID (e.g., -1), returnschwarze1-2/+5
2020-04-10When printing the serialNumber, fall back to the colon separated hextb1-2/+4
2020-03-24Fix ASN1 print functionsinoguchi1-6/+13
2020-01-09Avoid leak in error path of asn1_parse2inoguchi1-17/+21
2019-11-02Sort standard_methods by pkey_id.inoguchi1-4/+4
2019-11-01Wire up ASN.1 methods for RSA-PSS.jsing1-1/+5
2019-10-24Provide ASN1_TYPE_{,un}pack_sequence().jsing2-2/+36
2019-08-20Add static_ASN1_* macroinoguchi1-1/+72
2019-05-12Fix signed overflow in X509_CRL_print().tb1-1/+4
2019-04-28Avoid an undefined shift in ASN1_ENUMERATED_get().tb1-4/+9
2019-04-28Avoid an undefined shift in ASN1_INTEGER_get().tb1-4/+8
2019-04-20Avoid undefined behaviour that results from negating a signed long withjsing1-2/+2
2019-04-15Avoid signed integer overflow.jsing1-2/+2
2019-04-10Avoid an overread caused by d2i_PrivateKey().jsing1-1/+3
2019-04-07Revert tasn_prn.c r1.18.jsing1-6/+2
2019-04-01Implement a print function for BIGNUM_it.jsing1-2/+18
2019-04-01Correct the return values from long_print.jsing1-2/+5
2019-04-01Require all ASN1_PRIMITIVE_FUNCS functions to be provided.jsing5-26/+42
2019-03-31Wrap long lines and apply some style(9).jsing1-7/+10
2019-03-31Use named field initialisers.jsing2-16/+18
2019-03-26Use limits.h instead of sys/limits.h for portability.jsing1-3/+2
2019-03-24Don't allow asn1_parse2 to recurse arbitrarily deep. Constrain to a maxbeck1-1/+5
2019-03-23Add range checks to varios ASN1_INTEGER functions to ensure thebeck2-5/+59
2019-03-13Fix a number of ASN1_INTEGER vs ASN1_STRING mixups coming from thetb1-4/+2
2018-11-30Restore function prototype for ASN1_dup, fixing usage on I32LP64 platforms.jeremy1-1/+7
2018-11-17Fix whitespace around assignment operators.tb1-7/+7
2018-11-09Avoid leaking memory that was already allocated in ASN1_item_new().tb1-5/+1
2018-11-09Fix a buffer overrun in asn1_parse2().tb1-4/+7
2018-11-09Add const to the data argument of ASN1_set{,_int}_octetstring().tb2-6/+6
2018-11-08Remove some function prototypes that should have been removed in thejsing1-10/+2
2018-11-02whitespacetb1-2/+2
2018-10-24Remove a bunch of ancient and highly crufty ASN.1 related code fromjsing6-1352/+19
2018-10-20Avoid calling memcpy with a length <= 0. Reported due to a GCC 7.3.0tb1-5/+6
2018-09-17Simplify initialization of asn1_cb; use correct spelling of NULL.tb1-4/+2
2018-08-24Add consts to EVP_PKEY_asn1_set_private()tb2-4/+4
2018-08-24After removing support for broken PKCS#8 formats (it was high time),tb1-3/+3
2018-08-24Remove EVP_PKEY2PKCS8_broken() and PKCS8_set_broken()tb1-45/+30
2018-08-24Turn a number of #defines into proper functions with prototypes matchingtb1-1/+31
2018-08-05Fix a memory leak in i2d_RSA_NET on failure of ASN1_STRING_set.bcook1-2/+2
2018-05-24As calloc does the zeroing for us in EVP_PKEY_asn1_new() already, no needtb1-42/+10
2018-05-19The 'in' argument of ASN1_STRING_to_UTF8() is now adorned with const.tb2-4/+4
2018-05-18Add a const qualifier to the 'X509_NAME *' argument oftb2-6/+8
2018-05-13Use recallocarray() instead of OPENSSL_realloc_clean().jsing2-8/+4
2018-05-13Add a const qualifier to the argument of EVP_PKEY_get0_asn1(3).tb1-2/+2
2018-05-12Cleanup c2i_ASN1_BIT_STRING() code.jsing1-19/+22