Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Explicitly pass in an SSL_CTX * to the functions that operate on one, | jsing | 2016-08-15 | 4 | -37/+38 |
| | | | | | | | | | | | instead of assuming that they should use the one associated with the TLS context. This allows these functions to be used with the additional SSL contexts that are needed to support server-side SNI. Also rename tls_configure_keypair() to tls_configure_ssl_keypair(), so that these functions have a common prefix. ok reyk@ | ||||
* | add a bit of spacing to previous, to keep the notes about deprecated | jmc | 2016-08-15 | 2 | -4/+6 |
| | | | | | | functions out the way of the main body; ok guenther | ||||
* | Reduce qabs() and qdiv() to aliases of llabs() and lldiv(). | guenther | 2016-08-14 | 12 | -228/+36 |
| | | | | | | Merge the manual pages and call them deprecated there. ok and manpage tweak jmc@, ok natano@ | ||||
* | shorten genpkey; ok guenther | jmc | 2016-08-14 | 1 | -78/+23 |
| | |||||
* | shorten gendsa; | jmc | 2016-08-13 | 1 | -20/+12 |
| | |||||
* | Avoid leaking memory if tls_config_set_alpn() is called multiple times | jsing | 2016-08-13 | 1 | -4/+5 |
| | | | | (this was in the original commit, but got reverted in the recommit). | ||||
* | Let libtls load the CA, certificate and key files for nc(1), now that it | jsing | 2016-08-13 | 1 | -22/+15 |
| | | | | | | does this at the time the tls_config_set_*_file() function is called. ok bluhm@ | ||||
* | Load CA, certificate and key files into memory when the appropriate | jsing | 2016-08-13 | 3 | -44/+98 |
| | | | | | | | | | | tls_config_set_*_file() function is called. This allows us to immediately propagate useful error messages, play more nicely with privsep/pledge and have a single code path. Instead of always loading the default CA when tls_config_new() is called, defer and only load the default CA when tls_configure() is invoked, if a CA has not already been specified. ok beck@ bluhm@ | ||||
* | Bump libtls minor due to symbol additions. | jsing | 2016-08-12 | 1 | -1/+1 |
| | |||||
* | Add ALPN support to libtls. | jsing | 2016-08-12 | 7 | -16/+168 |
| | | | | ok beck@ doug@ | ||||
* | trim errstr, and zap gendh (deprecated) entirely; | jmc | 2016-08-12 | 1 | -26/+1 |
| | |||||
* | shorten openssl enc, with help from jsing; | jmc | 2016-08-12 | 1 | -201/+39 |
| | | | | ok jsing beck | ||||
* | shorten ecparam; | jmc | 2016-08-10 | 1 | -102/+50 |
| | |||||
* | trim the ec text; | jmc | 2016-08-09 | 1 | -92/+39 |
| | |||||
* | trim the dsaparam section; ok guenther | jmc | 2016-08-08 | 1 | -56/+36 |
| | |||||
* | Update the link for the getentropy(2) manual to man.openbsd.org/ | tb | 2016-08-07 | 16 | -32/+32 |
| | | | | ok deraadt@ | ||||
* | Do not *printf %s NULL | deraadt | 2016-08-05 | 2 | -4/+6 |
| | | | | ok bcook | ||||
* | Obvious minor fixes: | schwarze | 2016-08-05 | 2 | -36/+57 |
| | | | | | | | | * Add missing .Dv, .Ev, and .Fa macros. * Delete deprecated .Tn macros. * Mark up global variable names with .Va, not with .Fa or .Li. * Mark up config file commands with .Ic, not with .Fa. * Fix HISTORY, trivial to verify from the CSRG archive CD. | ||||
* | shorten the openssl dsa text; | jmc | 2016-08-05 | 1 | -69/+35 |
| | |||||
* | Make RES_OPTIONS point directly to resolv.conf(5) instead of going through | martijn | 2016-08-05 | 1 | -3/+3 |
| | | | | | | resolver(3). OK jmc@ | ||||
* | shorten the openssl dhparam text; | jmc | 2016-08-03 | 1 | -84/+32 |
| | | | | guenther helped rewrite the -dsaparam parts. | ||||
* | Revert previous since it adds new symbols. | jsing | 2016-08-02 | 8 | -170/+16 |
| | | | | Requested by deraadt@ | ||||
* | Bump TLS_API for addition of ALPN support. | jsing | 2016-08-01 | 1 | -2/+2 |
| | |||||
* | Add ALPN support to libtls. | jsing | 2016-08-01 | 7 | -15/+168 |
| | | | | ok beck@ doug@ | ||||
* | shorten the openssl dgst text; in particular, do not try to | jmc | 2016-08-01 | 1 | -53/+24 |
| | | | | list all the available digests; | ||||
* | bump for LibreSSL 2.5.x | bcook | 2016-07-31 | 2 | -6/+6 |
| | |||||
* | use the style from the man page examples for getaddrinfo, which makes a | halex | 2016-07-30 | 1 | -21/+19 |
| | | | | | | bit more sense ok jung@ deraadt@ | ||||
* | remove HISTORY: it was a nonsense; | jmc | 2016-07-28 | 1 | -25/+1 |
| | |||||
* | some text cutting, after feedback from jsing; | jmc | 2016-07-28 | 1 | -12/+12 |
| | |||||
* | rework crl2pkcs7; with help from jsing | jmc | 2016-07-23 | 1 | -57/+18 |
| | |||||
* | rework DESCRIPTION a little: no-command seems clearer than no-XXX; | jmc | 2016-07-21 | 1 | -17/+12 |
| | |||||
* | rename NOTES to COMMON SYNTAX (explains itself better); rework the | jmc | 2016-07-21 | 1 | -43/+44 |
| | | | | | | passphrase section a little; move the DER|PEM stuff in there to help avoid text repetition, and prefer the lowercase (less keys to press); adjust ENVIRONMENT to format a little more nicely; | ||||
* | strip back openssl crl somewhat: remove the examples | jmc | 2016-07-21 | 1 | -41/+21 |
| | | | | and move any relevant text into the main body; | ||||
* | strip back openssl ciphers: | jmc | 2016-07-20 | 1 | -106/+60 |
| | | | | | | - rearrange the descriptions of -V and -v to read more logically - move the cipherlist text into the cipherlist description - zap examples | ||||
* | strip back openssl ca: in particular remove some excessively wordy sections, | jmc | 2016-07-19 | 1 | -337/+120 |
| | | | | | move some other sections into more relevant places, and remove the example ca file; | ||||
* | don't mix code and decls, ok tedu@ | bcook | 2016-07-18 | 2 | -4/+6 |
| | |||||
* | use memset to initialize the union | bcook | 2016-07-17 | 2 | -4/+8 |
| | |||||
* | remove unused OPENSSL_NO_OBJECT case | bcook | 2016-07-17 | 2 | -28/+2 |
| | | | | ok tedu@ | ||||
* | Initialize buffers before use, noted by Kinichiro Inoguchi. | bcook | 2016-07-17 | 2 | -14/+14 |
| | | | | ok beck@ | ||||
* | strip back asn1parse; ok beck jsing | jmc | 2016-07-17 | 1 | -108/+27 |
| | | | | description of -out altered on jsing's advice | ||||
* | Clean up OCSP_check_validity() a bit more. | beck | 2016-07-16 | 2 | -22/+20 |
| | | | | | | - Return on first failure rather than continuing. - Don't compare times by comparing strings that possibly were not parsable as a time. ok deraadt@ | ||||
* | since we no longer pull source directly from openssl, the time is | jmc | 2016-07-16 | 1 | -427/+57 |
| | | | | | | | | right to try and trim some of the excess from this page. begin now by cutting some of the fluff from the start. the section on pass phrase arguments goes to the end of the page: it;s in the way for now. | ||||
* | Limit the support of the "backward compatible" ssl2 handshake to only be | beck | 2016-07-16 | 2 | -2/+18 |
| | | | | | used if TLS 1.0 is enabled. Sugessted/discussed with jsing@ and bcook@. ok guenther@ sthen@ | ||||
* | Adjust existing tls_config_set_cipher() callers for TLS cipher group | jsing | 2016-07-13 | 1 | -2/+2 |
| | | | | | | | changes - map the previous configuration to the equivalent in the new groups. This will be revisited post release. Discussed with beck@ | ||||
* | Split the existing TLS cipher suite groups into four: | jsing | 2016-07-13 | 3 | -11/+22 |
| | | | | | | | | | | | | "secure" (TLSv1.2+AEAD+PFS) "compat" (HIGH:!aNULL) "legacy" (HIGH:MEDIUM:!aNULL) "insecure" (ALL:!aNULL:!eNULL) This allows for flexibility and finer grained control, rather than having two extremes (an issue raised by Marko Kreen some time ago). ok beck@ tedu@ | ||||
* | Fix usage() output and getopt sorting | guenther | 2016-07-13 | 1 | -6/+6 |
| | |||||
* | zero the read buffer after copying data to user so it doesn't linger. | tedu | 2016-07-10 | 2 | -2/+4 |
| | | | | ok beck | ||||
* | Revert previous since the libtls change has been reverted. | jsing | 2016-07-07 | 1 | -16/+24 |
| | |||||
* | Revert previous - it introduces problems with a common privsep use case. | jsing | 2016-07-07 | 3 | -72/+35 |
| | |||||
* | add ca cert error check and make the path configurable | bcook | 2016-07-07 | 1 | -1/+9 |
| | | | | from Kinichiro Inoguchi |