summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src/crypto/cms (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove the libssl/src directorybeck2016-09-0315-7541/+0
|
* X509_free(3) is NULL-safe, so remove NULL checks before its calls.mmcc2016-03-112-8/+5
| | | | ok doug@
* Correct spelling of OPENSSL_cleanse.jsing2015-09-104-14/+14
| | | | ok miod@
* Expand another wall of ASN.1 template macros - no change to generatedjsing2015-07-251-224/+1357
| | | | assembly.
* Avoid an infinite loop that can occur when verifying a message with anjsing2015-06-111-2/+2
| | | | | | | | | | unknown hash function OID. Diff based on OpenSSL. Fixes CVE-2015-1792 (however, this code is not enabled/built in LibreSSL). ok doug@ miod@
* Fix return paths with missing EVP_CIPHER_CTX_cleanup() calls.jsg2015-05-151-4/+4
| | | | ok doug@
* Guenther has plans for OPENSSL_NO_CMS, so revert this for the moment.beck2015-02-111-1/+3
|
* get rid of OPENSSL_NO_CMS code we do not use.beck2015-02-111-3/+1
| | | | ok miod@
* get rid of OPENSSL_NO_COMP code we don't use.beck2015-02-111-4/+1
| | | | jajaja miod@
* GOST crypto algorithms (well, most of them), ported from the removed GOSTmiod2014-11-091-1/+3
| | | | | | | | | | | | engine to regular EVP citizens, contributed by Dmitry Eremin-Solenikov; libcrypto bits only for now. This is a verbatim import of Dmitry's work, and does not compile in this state; the forthcoming commits will address these issues. None of the GOST code is enabled in libcrypto yet, for it still gets compiled with OPENSSL_NO_GOST defined. However, the public header gost.h will be installed.
* Use arc4random_buf() instead of RAND_bytes() or RAND_pseudo_bytes().jsing2014-10-223-14/+13
| | | | | | | | arc4random_buf() is guaranteed to always succeed - it is worth noting that a number of the replaced function calls were already missing return value checks. ok deraadt@
* None of these need to include <openssl/rand.h>jsing2014-10-181-2/+1
|
* BIO_free() returns immediately when the sole input is NULL.doug2014-07-251-3/+2
| | | | | | Remove unnecessary NULL check. ok miod@
* if (x) FOO_free(x) -> FOO_free(x).miod2014-07-123-13/+8
| | | | | | | Improves readability, keeps the code smaller so that it is warmer in your cache. review & ok deraadt@
* Avoid invoking EVP_CIPHER_CTX_cleanup() on uninitialized memory; frommiod2014-07-111-2/+2
| | | | Coverity via OpenSSL trunk
* Fix version number processing in cms_sd_set_version(); OpenSSL PR #3249 viamiod2014-07-111-3/+3
| | | | OpenSSL trunk.
* Make CMS_decrypt_set1_pkey() return an error if no recipient type matches,miod2014-07-111-3/+4
| | | | instead of returning a random key; OpenSSL PR #3348 via OpenSSL trunk
* Only import cryptlib.h in the four source files that actually need it.jsing2014-07-118-40/+41
| | | | | | | | 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 referencesjsing2014-07-103-6/+11
| | | | | | | | | 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.
* tags as requested by miod and teduderaadt2014-06-1215-15/+15
|
* KNF.jsing2014-05-2415-2218/+1913
|
* Spell ssize_t correctly (the incorrect spelling is ossl_ssize_t).jsing2014-05-243-6/+6
| | | | ok miod@
* if (x) free(x) -> free(x); semantic patch generated with coccinelle, carefullymiod2014-05-223-6/+3
| | | | eyeballed before applying. Contributed by Cyril Roelandt on tech@
* Replace all use of ERR_add_error_data with ERR_asprintf_error_data.beck2014-04-261-1/+1
| | | | | | | | This avoids a lot of ugly gymnastics to do snprintfs before sending the bag of strings to ERR, and eliminates at least one place in dso_dlfctn.c where it was being called with the incorrect number of arguments and using random things off the stack as addresses of strings. ok krw@, jsing@
* Change library to use intrinsic memory allocation functions instead ofbeck2014-04-176-30/+30
| | | | | | | | OPENSSL_foo wrappers. This changes: OPENSSL_malloc->malloc OPENSSL_free->free OPENSSL_relloc->realloc OPENSSL_freeFunc->free
* we don't use these files for buildingtedu2014-04-151-81/+0
|
* remove auto-generated dependencies from the old unused build system, soderaadt2014-04-141-203/+0
| | | | | that it is easier to find code pieces. They are getting in the way. ok miod
* Import OpenSSL 1.0.1gmiod2014-04-133-5/+3
|
* resolve conflictsdjm2012-10-131-4/+57
|
* import OpenSSL-1.0.1cdjm2012-10-1310-25/+597
|
* resolve conflicts, fix local changesdjm2010-10-011-18/+4
|
* import OpenSSL-1.0.0adjm2010-10-0110-174/+300
|
* resolve conflictsdjm2009-04-061-2/+2
|
* resolve conflictsdjm2009-01-091-0/+3
|
* import openssl-0.9.8jdjm2009-01-092-2/+2
|
* update to openssl-0.9.8i; tested by several, especially krw@djm2009-01-051-2/+4
|
* import of OpenSSL 0.9.8hdjm2008-09-0615-0/+6265