summaryrefslogtreecommitdiff
path: root/lib/libcrypto/asn1
AgeCommit message (Expand)Author
2019-05-12Fix signed overflow in X509_CRL_print().Theo Buehler
2019-04-28Avoid an undefined shift in ASN1_ENUMERATED_get().Theo Buehler
2019-04-28Avoid an undefined shift in ASN1_INTEGER_get().Theo Buehler
2019-04-20Avoid undefined behaviour that results from negating a signed long withJoel Sing
2019-04-15Avoid signed integer overflow.Joel Sing
2019-04-10Avoid an overread caused by d2i_PrivateKey().Joel Sing
2019-04-07Revert tasn_prn.c r1.18.Joel Sing
2019-04-01Implement a print function for BIGNUM_it.Joel Sing
2019-04-01Correct the return values from long_print.Joel Sing
2019-04-01Require all ASN1_PRIMITIVE_FUNCS functions to be provided.Joel Sing
2019-03-31Wrap long lines and apply some style(9).Joel Sing
2019-03-31Use named field initialisers.Joel Sing
2019-03-26Use limits.h instead of sys/limits.h for portability.Joel Sing
2019-03-24Don't allow asn1_parse2 to recurse arbitrarily deep. Constrain to a maxBob Beck
2019-03-23Add range checks to varios ASN1_INTEGER functions to ensure theBob Beck
2019-03-13Fix a number of ASN1_INTEGER vs ASN1_STRING mixups coming from theTheo Buehler
2018-11-30Restore function prototype for ASN1_dup, fixing usage on I32LP64 platforms.Jeremy Evans
2018-11-17Fix whitespace around assignment operators.Theo Buehler
2018-11-09Avoid leaking memory that was already allocated in ASN1_item_new().Theo Buehler
2018-11-09Fix a buffer overrun in asn1_parse2().Theo Buehler
2018-11-09Add const to the data argument of ASN1_set{,_int}_octetstring().Theo Buehler
2018-11-08Remove some function prototypes that should have been removed in theJoel Sing
2018-11-02whitespaceTheo Buehler
2018-10-24Remove a bunch of ancient and highly crufty ASN.1 related code fromJoel Sing
2018-10-20Avoid calling memcpy with a length <= 0. Reported due to a GCC 7.3.0Theo Buehler
2018-09-17Simplify initialization of asn1_cb; use correct spelling of NULL.Theo Buehler
2018-08-24Add consts to EVP_PKEY_asn1_set_private()Theo Buehler
2018-08-24After removing support for broken PKCS#8 formats (it was high time),Theo Buehler
2018-08-24Remove EVP_PKEY2PKCS8_broken() and PKCS8_set_broken()Theo Buehler
2018-08-24Turn a number of #defines into proper functions with prototypes matchingTheo Buehler
2018-08-05Fix a memory leak in i2d_RSA_NET on failure of ASN1_STRING_set.Brent Cook
2018-05-24As calloc does the zeroing for us in EVP_PKEY_asn1_new() already, no needTheo Buehler
2018-05-19The 'in' argument of ASN1_STRING_to_UTF8() is now adorned with const.Theo Buehler
2018-05-18Add a const qualifier to the 'X509_NAME *' argument ofTheo Buehler
2018-05-13Use recallocarray() instead of OPENSSL_realloc_clean().Joel Sing
2018-05-13Add a const qualifier to the argument of EVP_PKEY_get0_asn1(3).Theo Buehler
2018-05-12Cleanup c2i_ASN1_BIT_STRING() code.Joel Sing
2018-05-12Add a missing bounds check in c2i_ASN1_BIT_STRING().Joel Sing
2018-05-01Convert a handful of X509_*() functions to take const as in OpenSSL.Theo Buehler
2018-05-01const for BIO_{new,set}() and most of the BIO_{f,s}_*() family ofTheo Buehler
2018-04-25Put function name on a separate line and zap stray whitespace.Theo Buehler
2018-04-25remove whitespace before closing parensTheo Buehler
2018-04-25Add const to functions in asn1/asn1.h as they did in OpenSSL.Theo Buehler
2018-04-23Make the NULL check a separate if statement for readability andTheo Buehler
2018-04-23Make X509_CRL_METHOD_free() NULL-safe.Theo Buehler
2018-04-14make ENGINE_finish() succeed on NULL and simplify callers as inTheo Buehler
2018-04-06Revert revision 1.12 commit. Although *pval looks like a C pointer,Alexander Bluhm
2018-04-06Avoid leaking str if EVP_Digest() fails.Theo Buehler
2018-03-29Limit ASN.1 constructed types recursive definition depthKinichiro Inoguchi
2018-03-17Provide X509_PUBKEY_get0() by splitting X509_PUBKEY_get() and turning itJoel Sing