Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid leak in error path of dh_priv_decode | inoguchi | 2020-01-04 | 1 | -1/+2 |
| | | | | ok jsing@ tb@ | ||||
* | Add consts to EVP_PKEY_asn1_set_private() | tb | 2018-08-24 | 1 | -2/+2 |
| | | | | | | | | | Requires adding a const to the priv_decode() member of EVP_PKEY_ASN1_METHOD and adjusting all *_priv_decode() functions. All this is already documented this way. tested in a bulk build by sthen ok jsing | ||||
* | After removing support for broken PKCS#8 formats (it was high time), | tb | 2018-08-24 | 1 | -2/+2 |
| | | | | | | | | we can add const to PKCS8_pkey_get0(). In order for this to work, we need to sprinkle a few consts here and there. tested in a bulk by sthen ok jsing | ||||
* | Convert a handful of X509_*() functions to take const as in OpenSSL. | tb | 2018-05-01 | 1 | -5/+5 |
| | | | | | tested in a bulk by sthen ok jsing | ||||
* | Send the function codes from the error functions to the bit bucket, | beck | 2017-01-29 | 1 | -15/+15 |
| | | | | | | as was done earlier in libssl. Thanks inoguchi@ for noticing libssl had more reacharounds into this. ok jsing@ inoguchi@ | ||||
* | Avoid a double-free in an error path. | doug | 2015-01-08 | 1 | -1/+2 |
| | | | | ok jsing@ beck@ | ||||
* | if (x) FOO_free(x) -> FOO_free(x). | miod | 2014-07-12 | 1 | -7/+4 |
| | | | | | | | 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@ | ||||
* | 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 | -149/+146 |
| | |||||
* | simplify and unobfuscate a variable to fix a mem leak. | tedu | 2014-06-30 | 1 | -6/+9 |
| | | | | original diff by logan | ||||
* | tags as requested by miod and tedu | deraadt | 2014-06-12 | 1 | -0/+1 |
| | |||||
* | 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 | -2/+1 |
| | | | | 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 | -32/+28 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | -4/+4 |
| | | | | | | | | 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/+1 |
| | |||||
* | import OpenSSL-1.0.0a | djm | 2010-10-01 | 1 | -0/+500 |