Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Coverity CID 21733 (unchecked allocation), 78823 (leak on error). | miod | 2015-02-14 | 1 | -1/+6 |
| | | | | ok doug@ jsing@ | ||||
* | Guenther has plans for OPENSSL_NO_CMS, so revert this for the moment. | beck | 2015-02-11 | 1 | -1/+24 |
| | |||||
* | get rid of OPENSSL_NO_CMS code we do not use. | beck | 2015-02-11 | 1 | -24/+1 |
| | | | | ok miod@ | ||||
* | dsa_priv_decode(): only destroy the object we've created, and with the | miod | 2014-07-13 | 1 | -3/+5 |
| | | | | | | appropriate function. Checking for privkey != NULL is not enough since privkey points to a member of ndsa if ndsa != NULL. dsa_priv_encode(): possible double free in error path. | ||||
* | if (x) FOO_free(x) -> FOO_free(x). | miod | 2014-07-12 | 1 | -11/+7 |
| | | | | | | | Improves readability, keeps the code smaller so that it is warmer in your cache. review & ok deraadt@ | ||||
* | Only import cryptlib.h in the four source files that actually need it. | jsing | 2014-07-11 | 1 | -4/+6 |
| | | | | | | | | Remove the openssl public includes from cryptlib.h and add a small number of includes into the source files that actually need them. While here, also sort/group/tidy the includes. ok beck@ miod@ | ||||
* | Explicitly include <openssl/opensslconf.h> in every file that references | jsing | 2014-07-10 | 1 | -1/+4 |
| | | | | | | | | | an OPENSSL_NO_* define. This avoids relying on something else pulling it in for us, plus it fixes several cases where the #ifndef OPENSSL_NO_XYZ is never going to do anything, since OPENSSL_NO_XYZ will never defined, due to the fact that opensslconf.h has not been included. This also includes some miscellaneous sorting/tidying of headers. | ||||
* | ASN1_STRING_free can handle NULL, so callers don't need to check. ok miod | tedu | 2014-07-09 | 1 | -7/+4 |
| | |||||
* | KNF | miod | 2014-07-09 | 1 | -235/+224 |
| | |||||
* | tags as requested by miod and tedu | deraadt | 2014-06-12 | 1 | -0/+1 |
| | |||||
* | malloc() result does not need a cast. | deraadt | 2014-06-07 | 1 | -1/+1 |
| | | | | ok miod | ||||
* | more: no need to null check before free; ok guenther | deraadt | 2014-05-30 | 1 | -1/+1 |
| | |||||
* | more: no need for null check before free | deraadt | 2014-05-30 | 1 | -2/+1 |
| | | | | ok tedu guenther | ||||
* | if (x) free(x) -> free(x); semantic patch generated with coccinelle, carefully | miod | 2014-05-22 | 1 | -4/+2 |
| | | | | eyeballed before applying. Contributed by Cyril Roelandt on tech@ | ||||
* | Use C99 initializers for the various FOO_METHOD structs. More readable, and | miod | 2014-04-27 | 1 | -57/+53 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | avoid unreadable/unmaintainable constructs like that: const EVP_PKEY_ASN1_METHOD cmac_asn1_meth = { EVP_PKEY_CMAC, EVP_PKEY_CMAC, 0, "CMAC", "OpenSSL CMAC method", 0,0,0,0, 0,0,0, cmac_size, 0, 0,0,0,0,0,0,0, cmac_key_free, 0, 0,0 }; ok matthew@ deraadt@ | ||||
* | Change library to use intrinsic memory allocation functions instead of | beck | 2014-04-17 | 1 | -6/+6 |
| | | | | | | | | OPENSSL_foo wrappers. This changes: OPENSSL_malloc->malloc OPENSSL_free->free OPENSSL_relloc->realloc OPENSSL_freeFunc->free | ||||
* | import OpenSSL-1.0.1c | djm | 2012-10-13 | 1 | -0/+47 |
| | |||||
* | import OpenSSL-1.0.0a | djm | 2010-10-01 | 1 | -0/+657 |