Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Document the openssl s_client -proxy feature. | bluhm | 2015-01-13 | 1 | -2/+14 |
| | | | | OK jmc@ | ||||
* | Add the possibility to use the openssl s_client tool with an http | bluhm | 2015-01-13 | 1 | -4/+24 |
| | | | | | | proxy. Implement the -proxy feature in the same hackish way as -starttls. OK jsing@ | ||||
* | Implement more thorough error checks: | lteo | 2015-01-13 | 1 | -12/+38 |
| | | | | | | | | | | | | - Check the return value of every relevant function call. - If BIO_new() returns NULL instead of a valid BIO, do not attempt to blindly use the NULL value as a BIO throughout the rest of the code. - Ensure that bio_out is freed by BIO_free_all() at the end of all error paths. ok doug@ | ||||
* | Convert spkac.c to the new option handling code. | doug | 2015-01-08 | 1 | -100/+137 |
| | | | | input + ok jsing@ | ||||
* | Convert pkcs8.c to the new option handling code. | doug | 2015-01-08 | 1 | -157/+220 |
| | | | | | Minor KNF in a few places too. input + ok jsing@ | ||||
* | Convert asn1pars.c to the new option handling. | doug | 2015-01-08 | 1 | -137/+206 |
| | | | | | | | Also, removed a few useless if null checks. input from bcook@ input + ok jsing@ | ||||
* | Convert openssl(1) passwd to new option handling. | jsing | 2015-01-05 | 1 | -119/+151 |
| | | | | ok doug@ | ||||
* | Zap a reference to .rnd, which is likely the last RANDFILE remnant on | lteo | 2015-01-05 | 1 | -3/+2 |
| | | | | | | this man page. ok jsing@ | ||||
* | Check the return values of several reallocarray() calls. While here, | lteo | 2015-01-03 | 3 | -3/+17 |
| | | | | | | also check the return value of an adjacent malloc() call. ok jsing@ | ||||
* | Remove ifdef statements for TIMES and USE_TOD; they don't do anything, | lteo | 2015-01-02 | 1 | -5/+1 |
| | | | | | | | apart from introducing a bug where the -elapsed option is not listed in the usage output when it should be. feedback/ok bcook@ jsing@ | ||||
* | Provide option types for binary AND, binary OR and silently discarding an | jsing | 2015-01-01 | 2 | -2/+13 |
| | | | | option. | ||||
* | Convert the openssl(1) enc command to the new option parsing and usage. | jsing | 2015-01-01 | 1 | -250/+382 |
| | | | | With input from doug@ | ||||
* | Fix subtle typo. | jsing | 2014-12-28 | 1 | -2/+2 |
| | |||||
* | Allow a default option to be specified by having a NULL name, but a valid | jsing | 2014-12-28 | 1 | -4/+4 |
| | | | | option type. In this case process the option as per normal. | ||||
* | Provide an option type that allows for a callback function to consume an | jsing | 2014-12-28 | 2 | -3/+12 |
| | | | | | arbitrary number of arguments. This will allow for more complex option handling as required by some of the openssl(1) applications. | ||||
* | Teach option parsing that a single hyphen denotes the end of named options | jsing | 2014-12-28 | 1 | -2/+14 |
| | | | | (as currently only implemented by some of the openssl(1) applications). | ||||
* | Provide a mechanism for option parsing to return the number of arguments | jsing | 2014-12-28 | 7 | -14/+22 |
| | | | | | that it has consumed. This allows for the handling of multiple unnamed arguments, including lists of filenames. | ||||
* | Only accept a single unnamed argument - the existing behaviour is to | jsing | 2014-12-28 | 1 | -1/+12 |
| | | | | | | | silently accept multiple unnamed arguments, ignoring all except the last. This behaviour was already inconsistent between openssl(1) applications; apply the principal of least surprise. This will also simplify the addition of upcoming functionality. | ||||
* | Slightly simplify options parsing logic. | jsing | 2014-12-28 | 1 | -65/+58 |
| | |||||
* | Provide two different function pointers for option function callbacks. This | jsing | 2014-12-28 | 4 | -13/+14 |
| | | | | | allows for simpler code in the common cases and will allow for further extension to support the complex cases. | ||||
* | Clean up CIPHERS and related sections: | lteo | 2014-12-24 | 1 | -154/+10 |
| | | | | | | | | | | | | | | - Sync cipher strings with the ones that are actually implemented. - Remove CIPHERS SUITE NAMES (the actual cipher suites can be obtained via "openssl ciphers -v"), CIPHERS NOTES, and CIPHERS HISTORY sections. - Stop mentioning export cipher suites since they have already been removed. feedback from deraadt@ and jmc@ ok jmc@ | ||||
* | CA.sh and CA.pl are gone | lteo | 2014-12-19 | 1 | -6/+1 |
| | |||||
* | Sync message digest algorithms with the ones actually implemented in | lteo | 2014-12-19 | 1 | -9/+29 |
| | | | | | | "openssl dgst". feedback/ok jmc@ | ||||
* | Remove redundant NULL checks before free - BN_free(), BIO_free_all() and | jsing | 2014-12-14 | 1 | -17/+12 |
| | | | | EC_GROUP_free() all have implicit NULL checks. | ||||
* | unifdef OPENSSL_NO_NEXTPROTONEG | jsing | 2014-12-14 | 4 | -41/+4 |
| | |||||
* | Add ALPN support to openssl(1). | jsing | 2014-12-10 | 2 | -11/+95 |
| | | | | Based on OpenSSL. | ||||
* | Remove unused variable. | jsing | 2014-12-07 | 1 | -5/+1 |
| | | | | From Benjamin Baier <programmer at netzbasis.de> | ||||
* | Handle GF(2^m) EC curves for C code generation. | jsing | 2014-12-07 | 1 | -5/+7 |
| | | | | From Minux Ma. | ||||
* | Move Windows OS-specific functions to make porting easier. | bcook | 2014-12-03 | 4 | -31/+165 |
| | | | | | | | | | | | | Several functions that need to be redefined for a Windows port are right in the middle of other code that is relatively portable. This patch isolates the functions that need Windows-specific implementations so they can be built conditionally in the portable tree. Add calls to BIO_sock_init() as-needed to openssl(1) so that socket IO works on Windows. Sorry, these are no-op on other platforms. ok jsing@ deraadt@ | ||||
* | convert select() to poll(). This is one of the most complicated | deraadt | 2014-12-02 | 2 | -40/+63 |
| | | | | | | conversions in the tree, because the original code is very rotten and fragile. Please test and report any failures. Assistance from millert, bcook, and jsing. | ||||
* | Conversion of braindead select() path to braindead poll() path. | deraadt | 2014-12-02 | 1 | -17/+17 |
| | | | | Also looked at by bcook | ||||
* | Mention the -no_tls1_[12] options | guenther | 2014-11-23 | 1 | -6/+10 |
| | |||||
* | Nuke more obvious #include duplications. | krw | 2014-11-18 | 1 | -2/+1 |
| | | | | ok deraadt@ millert@ tedu@ | ||||
* | More OPENSSL_NO_TLSEXT clean up. | jsing | 2014-11-07 | 3 | -11/+11 |
| | |||||
* | Document the -servername option for openssl(1) s_client. | jsing | 2014-11-07 | 1 | -2/+7 |
| | | | | Based on a diff from Rusty (rustyl at outband dot net) and OpenSSL. | ||||
* | TLS is pretty boring without TLS extensions... unifdef OPENSSL_NO_TLSEXT, | jsing | 2014-11-06 | 2 | -76/+2 |
| | | | | which was already done for libssl some time back. | ||||
* | ssl_sock_init() does nothing, so remove it... | jsing | 2014-11-06 | 1 | -17/+1 |
| | |||||
* | simple select() to poll() conversion; reviewed by millert and doug | deraadt | 2014-11-04 | 1 | -9/+9 |
| | |||||
* | Remove ephemeral RSA key handling. | jsing | 2014-10-31 | 1 | -43/+4 |
| | |||||
* | Use automatic DH ephemeral parameters instead of fixed 512 bit. | jsing | 2014-10-31 | 1 | -38/+23 |
| | | | | Based on OpenSSL. | ||||
* | Use arc4random_buf() instead of RAND(_pseudo)?_bytes(). | jsing | 2014-10-22 | 8 | -36/+19 |
| | | | | ok bcook@ | ||||
* | None of these need <openssl/rand.h> | jsing | 2014-10-22 | 3 | -6/+3 |
| | |||||
* | s_client: don't call shutdown on a non-existent socket descriptor. | bcook | 2014-10-20 | 1 | -3/+1 |
| | | | | | from Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> ok beck@, deraadt@ | ||||
* | Repair BUF_strdup() breakage. | jsing | 2014-10-16 | 2 | -4/+6 |
| | |||||
* | prefer C99 array initialization syntax. | bcook | 2014-10-13 | 5 | -10/+10 |
| | | | | | | | | use C99 array initialization syntax for strict C compilers. from kinichiro, found building with HP/UX compiler ok deraadt@, guenther@ | ||||
* | Use O_NONBLOCK over FIONBIO. | bcook | 2014-10-13 | 2 | -11/+7 |
| | | | | | | | | | Prefer this because it is the POSIX standard and has consistent behavior across platforms. Use BIO_socket_nbio consistently across the tree. from Jonas 'Sortie' Termansen, ok deraadt@ | ||||
* | fix an indentation that makes me upset | deraadt | 2014-10-08 | 1 | -2/+2 |
| | |||||
* | Switch "openssl req" to using SHA256 for hashes and AES256 to encrypt on-disk | sthen | 2014-10-01 | 2 | -12/+12 |
| | | | | | | | | | | keys by default (instead of SHA1/3DES) and update documentation to match. Another way to do this is s/NID_sha1/NID_sha256/ in src/crypto/rsa/rsa_ameth.c ("case ASN1_PKEY_CTRL_DEFAULT_MD_NID") but going with the more targetted method above that only affects "openssl req" for now. Help/OK jsing@. OKs on earlier diffs changing openssl.cnf from phessler@ aja@ | ||||
* | Remove unused #define. | lteo | 2014-09-17 | 1 | -3/+1 |
| | | | | ok jsing@ | ||||
* | a little less sendmail specific; | jmc | 2014-09-16 | 1 | -4/+3 |
| |