Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 7 | -62/+36 |
| | | | | | | | 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 | 11 | -38/+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 references | jsing | 2014-07-10 | 5 | -7/+22 |
| | | | | | | | | | 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. | ||||
* | Stop including standard headers via cryptlib.h - pull in the headers that | jsing | 2014-07-10 | 2 | -3/+7 |
| | | | | | | are needed in the source files that actually require them. 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 |
| | |||||
* | remove unused, private version strings except SSL_version_str | bcook | 2014-07-09 | 1 | -3/+1 |
| | | | | | | Also remove unused des_ver.h, which exports some of these strings, but is not installed. ok miod@ tedu@ | ||||
* | Make use of this wonderful modern C construct known as a `switch', instead of | miod | 2014-07-09 | 1 | -11/+17 |
| | | | | 8-line if() tests. | ||||
* | KNF | miod | 2014-07-09 | 11 | -906/+939 |
| | |||||
* | hand-KNF macro the do { } while loops | deraadt | 2014-06-27 | 1 | -16/+20 |
| | |||||
* | replace atoi() calls with strtol(). Follow the idiomatic pattern in our | deraadt | 2014-06-12 | 1 | -15/+35 |
| | | | | | | | | | manual page strictly. Return -2 if the strings are not strict numbers. The numbers remain in the range of "int". Range checking for these parameters is done later in the pkey_*_ctl() functions, or sometimes in functions much further downstream... but not always!!! ok millert miod mikeb | ||||
* | tags as requested by miod and tedu | deraadt | 2014-06-12 | 14 | -11/+14 |
| | |||||
* | Remove various test stubs. The good ones have been moved by jsing | deraadt | 2014-06-07 | 1 | -111/+0 |
| | | | | | | and others to the regress framework. These remaining ones just muddle us up when re-reading code repeatedly. ok jsing | ||||
* | malloc() result does not need a cast. | deraadt | 2014-06-07 | 2 | -2/+2 |
| | | | | 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 | ||||
* | Everything sane has stdio, and FILE *. we don't need ifdefs for this. | beck | 2014-05-29 | 2 | -4/+0 |
| | | | | ok to firebomb from tedu@ | ||||
* | Almost nothing actually needs to include <openssl/e_os2.h>, however by | jsing | 2014-05-24 | 1 | -1/+1 |
| | | | | | | | including it they get <openssl/opensslconf.h>. So instead of pulling in <openssl/e_os2.h>, just pull in <openssl/opensslconf.h>. "go ahead" miod@ | ||||
* | if (x) free(x) -> free(x); semantic patch generated with coccinelle, carefully | miod | 2014-05-22 | 2 | -6/+3 |
| | | | | eyeballed before applying. Contributed by Cyril Roelandt on tech@ | ||||
* | Stop being a dummy... presumably these are left overs from pedantic mode | jsing | 2014-05-15 | 1 | -2/+0 |
| | | | | | | that were not wrapped with #if PEDANTIC. ok miod@ | ||||
* | Use C99 initializers for the various FOO_METHOD structs. More readable, and | miod | 2014-04-27 | 3 | -98/+72 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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@ | ||||
* | kill REF_PRINT/REF_CHECK debugging framework noone would use | deraadt | 2014-04-17 | 1 | -20/+0 |
| | | | | ok miod | ||||
* | Change library to use intrinsic memory allocation functions instead of | beck | 2014-04-17 | 5 | -16/+16 |
| | | | | | | | | OPENSSL_foo wrappers. This changes: OPENSSL_malloc->malloc OPENSSL_free->free OPENSSL_relloc->realloc OPENSSL_freeFunc->free | ||||
* | 1. RAND_seed is now DEPRECATED | deraadt | 2014-04-17 | 1 | -1/+0 |
| | | | | | | | | | | 2. Even passing a digest in as entropy is sloppy. But apparently the OpenSSL guys could find no objects of lesser value to pass to the pluggable random subsystem, and had to resort to private keys and digests. Classy. ok djm | ||||
* | we don't use these files for building | tedu | 2014-04-15 | 1 | -77/+0 |
| | |||||
* | remove FIPS mode support. people who require FIPS can buy something that | tedu | 2014-04-15 | 5 | -71/+0 |
| | | | | | meets their needs, but dumping it in here only penalizes the rest of us. ok beck deraadt | ||||
* | Moved to regress/lib/libcrypto. | miod | 2014-04-15 | 1 | -259/+0 |
| | |||||
* | remove auto-generated dependencies from the old unused build system, so | deraadt | 2014-04-14 | 1 | -132/+0 |
| | | | | | that it is easier to find code pieces. They are getting in the way. ok miod | ||||
* | resolve conflicts | djm | 2012-10-13 | 10 | -46/+196 |
| | |||||
* | This commit was generated by cvs2git to track changes on a CVS vendor | djm | 2012-10-13 | 3 | -2/+52 |
|\ | | | | | branch. | ||||
| * | import OpenSSL-1.0.1c | djm | 2012-10-13 | 12 | -45/+244 |
| | | |||||
* | | openssl-1.0.0e: resolve conflicts | djm | 2011-11-03 | 2 | -21/+2 |
| | | |||||
* | | This commit was generated by cvs2git to track changes on a CVS vendor | djm | 2011-11-03 | 1 | -0/+1 |
|\| | | | | | branch. | ||||
| * | import OpenSSL 1.0.0e | djm | 2011-11-03 | 3 | -21/+3 |
| | | |||||
* | | resolve conflicts, fix local changes | djm | 2010-10-01 | 13 | -592/+298 |
| | | |||||
* | | This commit was generated by cvs2git to track changes on a CVS vendor | djm | 2010-10-01 | 4 | -0/+1152 |
|\| | | | | | branch. | ||||
| * | import OpenSSL-1.0.0a | djm | 2010-10-01 | 13 | -268/+1372 |
| | | |||||
| * | import openssl-0.9.8j | djm | 2009-01-09 | 9 | -60/+193 |
| | | |||||
* | | resolve conflicts | djm | 2009-01-09 | 10 | -89/+240 |
| | | |||||
* | | This commit was generated by cvs2git to track changes on a CVS vendor | djm | 2009-01-09 | 1 | -0/+95 |
|\ \ | | | | | | | branch. | ||||
| * | | import openssl-0.9.8j | djm | 2009-01-09 | 2 | -27/+145 |
| | | | |||||
* | | | update to openssl-0.9.8i; tested by several, especially krw@ | djm | 2009-01-05 | 1 | -3/+8 |
| | | | |||||
* | | | remove duplicate definition of OPENSSL_DSA_MAX_MODULUS_BITS spotted | djm | 2008-09-06 | 1 | -2/+0 |
| | | | | | | | | | | | | by dtucker@ | ||||
* | | | resolve conflicts | djm | 2008-09-06 | 9 | -170/+195 |
| | | | |||||
* | | | This commit was generated by cvs2git to track changes on a CVS vendor | djm | 2008-09-06 | 1 | -0/+106 |
|\ \ \ | | |/ | |/| | branch. | ||||
| * | | import of OpenSSL 0.9.8h | djm | 2008-09-06 | 9 | -157/+295 |
| | | | |||||
| * | | import of openssl-0.9.7j | djm | 2006-06-27 | 6 | -35/+101 |
| | | | |||||
| * | | import of openssl-0.9.7g; tested on platforms from alpha to zaurus, ok deraadt@ | djm | 2005-04-29 | 6 | -18/+55 |
| | | | |||||
| * | | import 0.9.7b (without idea and rc5) | markus | 2003-05-11 | 4 | -8/+23 |
| | | | |||||
| * | | import openssl-0.9.7-beta1 | markus | 2002-09-05 | 9 | -592/+656 |
| | | |