Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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. | |||||
* | my mistake. we already did increase buffers to 16k; increasing to 64k | tedu | 2014-10-30 | 1 | -2/+2 | |
| | | | | would be the next stage of embiggening. restore 16k. | |||||
* | rework the poll loop to poll in both directions so it doesn't get stuck | tedu | 2014-10-30 | 1 | -47/+211 | |
| | | | | | if one pipe stalls out. from a diff by Arne Becker. (buffer size left alone for now) | |||||
* | POLLIN is not guaranteed to be set in revents for EOF so check for | millert | 2014-10-26 | 1 | -3/+3 | |
| | | | | POLLHUP too. OK deraadt@ | |||||
* | Remove unnecessary include: netinet/in_systm.h is not needed by these | lteo | 2014-10-24 | 1 | -2/+1 | |
| | | | | | | programs. ok deraadt@ millert@ | |||||
* | 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 | |
| | ||||||
* | Disable -Wshadow again, since it breaks builds on vax with gcc3. | jsing | 2014-09-10 | 1 | -2/+2 | |
| | ||||||
* | Enable -Wshadow in openssl(1) and fix a few shadow warnings. | doug | 2014-09-01 | 5 | -25/+21 | |
| | | | | ok jsing@ | |||||
* | Convert ecparam to new option/usage handling. | jsing | 2014-09-01 | 1 | -197/+215 | |
| | ||||||
* | Improve option usage output. | jsing | 2014-09-01 | 1 | -7/+20 | |
| | | | | | | | If the option/argument string exceeds the given width, add a hanging indent prior to displaying the description. Also, if the description includes newlines, wrap and indent for each newline so that the indentation is correctly maintained. | |||||
* | Convert openssl(1) version to new option/usage handling. | jsing | 2014-08-30 | 1 | -34/+90 | |
| | ||||||
* | Move the callback function pointer outside the opt union so that the option | jsing | 2014-08-30 | 2 | -4/+10 | |
| | | | | | values are useable by the function. Also provide an option type that calls a function without consuming/passing an argument. | |||||
* | OpenSSL_add_all_algorithms() is called from openssl_startup() - it does not | jsing | 2014-08-28 | 6 | -13/+6 | |
| | | | | need to also be called from some of the applications. | |||||
* | openssl_setup() calls SSL_load_error_strings(), which happens to call | jsing | 2014-08-28 | 27 | -60/+30 | |
| | | | | | ERR_load_crypto_strings() - as such, we do not need to call the same function from most of the applications. | |||||
* | Add option handling with a callback function for argument processing. | jsing | 2014-08-28 | 2 | -2/+10 | |
| | ||||||
* | Convert openssl(1) crl to new option/usage handling. | jsing | 2014-08-28 | 1 | -186/+246 | |
| | ||||||
* | Given the usage option name/argument name width a few more characters. | jsing | 2014-08-28 | 1 | -2/+2 | |
| | ||||||
* | Ensure that a format option argument is a known specifier. | jsing | 2014-08-28 | 1 | -2/+10 | |
| | ||||||
* | Add option handling for ordered flags. | jsing | 2014-08-28 | 2 | -2/+8 | |
| | ||||||
* | Add option handling for input/output formats. | jsing | 2014-08-28 | 2 | -2/+8 | |
| | ||||||
* | Convert openssl(1) prime to the new options/usage handling. | jsing | 2014-08-27 | 1 | -60/+81 | |
| | ||||||
* | Reset the config struct before calling options_parse(), otherwise config | jsing | 2014-08-27 | 1 | -1/+3 | |
| | | | | options from the previous run stick in interactive mode. | |||||
* | Add an option type that handles argument to integer conversion. | jsing | 2014-08-27 | 2 | -4/+22 | |
| | ||||||
* | Implement table-driven option parsing that allows an application to | jsing | 2014-08-27 | 3 | -76/+192 | |
| | | | | | | | | | | | | | | | | | specify what its valid options are and where it wants them to be stored. This also allows for usage to be generated, almost for free, ensuring that the options and usage are automatically kept in sync. This will allow for a single option parsing implementation, rather than the current one-hand-rolled-option-parsing-and-random-usage-implementation per application. As a starting point, port the openssl(1) rand application to the new option parsing and usage (along with associated code clean up). With input from doug@. ok bcook@ doug@ | |||||
* | remove nginx references | robert | 2014-08-26 | 1 | -2/+1 | |
| |