Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove the libcrypto/crypto directory | beck | 2016-09-03 | 41 | -6330/+0 |
| | |||||
* | Remove the libssl/ssl directory | beck | 2016-09-03 | 2 | -54/+0 |
| | |||||
* | Remove the libssl/src directory | beck | 2016-09-03 | 1190 | -386114/+0 |
| | |||||
* | Less lock contention by using more pools for mult-threaded programs. | otto | 2016-09-01 | 2 | -94/+190 |
| | | | | tested by many (thanks!) ok tedu, guenther@ | ||||
* | black magic for sparc page size can go | tedu | 2016-09-01 | 1 | -4/+2 |
| | |||||
* | Crank minor due to API addition | beck | 2016-08-31 | 1 | -1/+1 |
| | |||||
* | Don't call lstat() before readlink() just to see if it's a symlink, | guenther | 2016-08-28 | 1 | -14/+17 |
| | | | | | | as readlink() will tell you that more cheaply. ok millert@ | ||||
* | Be more strict when parsing TLS extensions. | jsing | 2016-08-27 | 2 | -34/+74 |
| | | | | | | Based on a diff from Kinichiro Inoguchi. ok beck@ | ||||
* | Pull in <time.h> for clock_gettime() | guenther | 2016-08-26 | 1 | -1/+2 |
| | | | | ok deraadt@ | ||||
* | Various clean up and reorganisation of the connection info handling code. | jsing | 2016-08-22 | 3 | -69/+97 |
| | | | | | | | | | In particular, rename tls_free_conninfo() to tls_conninfo_free() and make it a real free function. Rename tls_get_conninfo() to tls_conninfo_populate() and have it allocate the struct tls_conninfo (after freeing any existing one). ok beck@ | ||||
* | Stick with the usual 'if NULL return NULL' idiom. | jsing | 2016-08-22 | 1 | -10/+10 |
| | | | | ok beck@ | ||||
* | Bump TLS_API due to the addition of server side SNI functions. | jsing | 2016-08-22 | 1 | -2/+2 |
| | |||||
* | Bump libtls minor due to the addition of symbols. | jsing | 2016-08-22 | 1 | -1/+1 |
| | |||||
* | Provide an API that enables server side SNI support - add the ability to | jsing | 2016-08-22 | 5 | -6/+107 |
| | | | | | | | | provide additional keypairs (via tls_config_add_keypair_{file,mem}()) and allow the server to determine what servername the client requested (via tls_conn_servername()). ok beck@ | ||||
* | Create contexts for server side SNI - these include the additional SSL_CTX | jsing | 2016-08-22 | 3 | -3/+174 |
| | | | | | | | | | that is required for certificate switching with libssl and the certificate itself so that we can match against the subject and SANs. Hook up the servername callback and switch to the appropriate SSL_CTX if we find a matching certificate. ok beck@ | ||||
* | Split out the TLS server SSL_CTX allocation and configuration code, so | jsing | 2016-08-18 | 1 | -19/+37 |
| | | | | | | that it can be reused to allocate the additional SSL_CTXs needed for SNI. ok reyk@ | ||||
* | Rework parts of the libtls man page for clarity. Split out the connection | jsing | 2016-08-18 | 1 | -45/+35 |
| | | | | | | | information related functions under their own heading and dedup the text relating to when these functions can be called. With input from and ok jmc@ | ||||
* | wrterror() is fatal, delete dead code; ok tom@ natano@ tedu@ | otto | 2016-08-17 | 1 | -61/+22 |
| | |||||
* | The tls_conninfo serial is also unused. | jsing | 2016-08-15 | 1 | -2/+1 |
| | |||||
* | Group conninfo fields by connection and peer cert based information, | jsing | 2016-08-15 | 1 | -5/+6 |
| | | | | sort and remove unused fingerprint. | ||||
* | Fix some style(9) issues. | jsing | 2016-08-15 | 1 | -3/+6 |
| | |||||
* | 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@ | ||||
* | 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). | ||||
* | 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@ | ||||
* | 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. | ||||
* | Make RES_OPTIONS point directly to resolv.conf(5) instead of going through | martijn | 2016-08-05 | 1 | -3/+3 |
| | | | | | | resolver(3). OK jmc@ | ||||
* | 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@ | ||||
* | bump for LibreSSL 2.5.x | bcook | 2016-07-31 | 2 | -6/+6 |
| | |||||
* | 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@ | ||||
* | 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@ | ||||
* | 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@ | ||||
* | 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@ | ||||
* | 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 - it introduces problems with a common privsep use case. | jsing | 2016-07-07 | 3 | -72/+35 |
| | |||||
* | call BN_init on temporaries to avoid use-before-set warnings | bcook | 2016-07-07 | 6 | -6/+28 |
| | | | | ok beck@ | ||||
* | J/j is a three valued option, document and fix code to actuall support that | otto | 2016-07-06 | 1 | -3/+5 |
| | | | | | with a little help from jmc@ for the man page bits ok jca@ and a reluctant tedu@ | ||||
* | Check that the given ciphers string is syntactically valid and results in | jsing | 2016-07-06 | 1 | -1/+17 |
| | | | | | | at least one matching cipher suite. ok doug@ | ||||
* | Always load CA, key and certificate files at the time the configuration | jsing | 2016-07-06 | 3 | -35/+72 |
| | | | | | | | | | | function is called. This simplifies code and results in a single memory based code path being used to provide data to libssl. Errors that occur when accessing the specified file are now detected and propagated immediately. Since the file access now occurs when the configuration function is called, we now play nicely with privsep/pledge. ok beck@ bluhm@ doug@ | ||||
* | Correctly handle an EOF that occurs prior to the TLS handshake completing. | jsing | 2016-07-06 | 1 | -3/+6 |
| | | | | | | Reported by Vasily Kolobkov, based on a diff from Marko Kreen. ok beck@ |