summaryrefslogtreecommitdiff
path: root/lib/libcrypto/x509
AgeCommit message (Expand)Author
2014-12-06Avoid modifying input on failure in X509_(TRUST|PURPOSE)_add.Doug Hogan
2014-11-18further BUF_strdup conversion: these places should be safe to rely onTed Unangst
2014-10-16Get rid of the last remaining BUF_strdup and BUF_strlcpy and friends, useBob Beck
2014-09-29Previous fix (1.12) would cause a NULL pointer dereference in the error pathMiod Vallat
2014-09-29check_cert(): be sure to reset ctx->current_crl to NULL before freeing it.Miod Vallat
2014-09-29X509_NAME_get_text_by_OBJ(): make sure we do not pass a negative size toMiod Vallat
2014-09-29X509_VERIFY_PARAM_set1_name(): if invoked with NULL as the secondMiod Vallat
2014-09-28X509v3_add_ext(): do not free stuff we did not allocate in the error path.Miod Vallat
2014-09-28X509_TRUST_add(): check X509_TRUST_get0() return value before dereferencing it,Miod Vallat
2014-09-28Someone (TM) thought it was smart to save memory by using malloc(1) andMiod Vallat
2014-09-26X509_STORE_new(): do not leak memory upon error.Miod Vallat
2014-09-26X509_issuer_and_serial_hash(): do not leak memory if an error occurs duringMiod Vallat
2014-09-26X509at_add1_attr(): do not free stuff we did not allocate in the error path.Miod Vallat
2014-09-23Fix regression introduced in revision 1.15 by using strndup() instead ofMiod Vallat
2014-07-25BIO_free() returns immediately when the sole input is NULL.Doug Hogan
2014-07-22Kill a bunch more BUF_strdup's - these are converted to have a check forBob Beck
2014-07-17Free sktmp when it's no longer needed. By doing so, we fix a bunch of memory ...Loganaden Velvindron
2014-07-13Check X509_NAME_oneline() return value when it will have to allocate memory.Miod Vallat
2014-07-12jsing and I are investigating removal of all? most? 'getenv from library'Theo de Raadt
2014-07-12if (x) FOO_free(x) -> FOO_free(x).Miod Vallat
2014-07-12Principle of least surprise: make CMAC_CTX_free(), OCSP_REQ_CTX_free() andMiod Vallat
2014-07-11When looking for the issuer of a certificate, if the current candidate isMiod Vallat
2014-07-11Only import cryptlib.h in the four source files that actually need it.Joel Sing
2014-07-10Explicitly include <openssl/opensslconf.h> in every file that referencesJoel Sing
2014-07-10Stop including standard headers via cryptlib.h - pull in the headers thatJoel Sing
2014-07-10delete some casts. ok miodTed Unangst
2014-07-09remove unused, private version strings except SSL_version_strBrent Cook
2014-07-03Memory-leak-in-error-path of the day in X509_ATTRIBUTE_set1_data().Miod Vallat
2014-06-28Fix a memory leak and another one that occurs in the error paths.Loganaden Velvindron
2014-06-24Unifdef -UNO_SYS_TYPES_HMiod Vallat
2014-06-23Since this is a library, place issetugid() before every getenv()Theo de Raadt
2014-06-20wrap getenv OPENSSL_ALLOW_PROXY_CERTS in an issetugid check, to protectTheo de Raadt
2014-06-19check stack push return and make some effort to clean up. ok beck miodTed Unangst
2014-06-19improve error checking. set error code on error, and check malloc return.Ted Unangst
2014-06-12tags as requested by miod and teduTheo de Raadt
2014-06-11Stop setting the EVP_MD_CTX_FLAG_NON_FIPS_ALLOW - it has been ignored sinceJoel Sing
2014-06-07malloc() result does not need a cast.Theo de Raadt
2014-05-30no need for null check before free. from Brendan MacDonellTed Unangst
2014-05-29convert 53 malloc(a*b) to reallocarray(NULL, a, b). that is 53Theo de Raadt
2014-05-29Everything sane has stdio, and FILE *. we don't need ifdefs for this.Bob Beck
2014-05-29Any sane platform has stdio. Stop pretending we will ever use a platformBob Beck
2014-05-25calloc instead of malloc/memset. from Benjamin BaierTed Unangst
2014-05-24Almost nothing actually needs to include <openssl/e_os2.h>, however byJoel Sing
2014-04-26Replace all use of ERR_add_error_data with ERR_asprintf_error_data.Bob Beck
2014-04-20Restore beck's (void)snprintf(): they were reviewed.Philip Guenther
2014-04-20KNF.Joel Sing
2014-04-20More KNF.Joel Sing
2014-04-20KNF.Joel Sing
2014-04-20KNF.Joel Sing
2014-04-20KNF.Joel Sing