summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/recallocarray.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-04-10Use freezero() for the internal opaque structures, instead of the currentjsing3-18/+9
explicit_bzero()/free(). Less code and potentially less overhead.
2017-04-10Use freezero() for X25519 keys - same result with more readable code.jsing1-7/+3
2017-04-10document three additional functions;schwarze1-7/+60
from Emilia Kasper <emilia at openssl dot org>, OpenSSL commit 4ac139b4
2017-04-10Rework and significantly extend TLS name verification tests to matchjsing1-99/+377
changes in libtls.
2017-04-10Rework name verification code so that a match is indicated via an argument,jsing5-47/+76
rather than return codes. More strictly follow RFC 6125, in particular only check the CN if there are no SAN identifiers present in the certificate (per section 6.4.4). Previous behaviour questioned by Daniel Stenberg <daniel at haxx dot se>. ok beck@ jca@
2017-04-10freezero() the key block; simpler code and less of it.jsing1-7/+3
2017-04-10Use freezero() for i2d_SSL_SESSION() - one line of code instead of three.jsing1-5/+2
In this case the memory allocated can also be significant, in which case freezero() will have less overhead than explicit_bzero() (munmap instead of touching all of the memory to write zeros).
2017-04-10fix some .Xr errors that jmc@ found with mdoclint(1)schwarze3-12/+13
2017-04-10new manual page SSL_get_server_tmp_key(3)schwarze3-2/+88
from Matt Caswell <matt@openssl.org>, OpenSSL commit 508fafd8
2017-04-10Additional SSL_SESSION documentationschwarze11-16/+349
from Matt Caswell <matt at openssl dot org>, OpenSSL commit b31db505. Improve crosslinking while here.
2017-04-10for pure *_ctrl() wrapper macros, move the reference from ssl(3)schwarze14-49/+54
to SSL_CTX_ctrl(3) to make ssl(3) slightly more palatable
2017-04-10new manual page SSL_CTX_set_tlsext_servername_callback(3) for SNI;schwarze2-1/+126
from <Jon dot Spillett at oracle dot com> via OpenSSL commit 8c55c461
2017-04-10tweak previous;jmc1-4/+4
2017-04-10Convert various client key exchange functions to freezero(3). The memoryjsing1-14/+5
contents needs to be made inaccessible - this is simpler and less error prone than the current "if not NULL, explicit_bzero(); free()" dance.
2017-04-10Introducing freezero(3) a version of free that guarantees the processotto2-36/+130
no longer has access to the content of a memmory object. It does this by either clearing (if the object memory remains cached) or by calling munmap(2). ok millert@, deraadt@, guenther@
2017-04-10pasto; from <Jon dot Spillett at oracle dot com> via OpenSSL commit 3aaa1bd0schwarze1-3/+3
2017-04-10typo fix; from <Jon dot Spillett at oracle dot com>schwarze1-5/+5
via OpenSSL commit 7bd27895
2017-04-09Simplify/clean up BUF_MEM_grow_clean().jsing1-17/+16
ok beck@
2017-04-09With recallocarray() BUF_MEM_grow() is essentially the same asjsing1-28/+2
BUF_MEM_grow_clean() (the only difference is clearing on internal down sizing), so make it a wrapper. ok beck@ deraadt@
2017-04-09Explicitly test for NULL.jsing1-4/+4
ok beck@
2017-04-09Improve unknown protocol version handling.jsing1-2/+3
2017-04-07In ssl.h TLS 1.0 is called TLSv1. Adapt name in test to make it pass.bluhm1-1/+1
OK jsing@
2017-04-07Use uint8_t instead of u_int8_t - for consistency and to make things easierjsing1-2/+2
for portable. From Raphael Hittich.
2017-04-06trailing ; on end of macro definition is wrong; ok guentherderaadt1-4/+4
2017-04-06Consistentcy between nmembers and size order. From Christopher Hettrick;otto1-8/+8
ok deraadt@
2017-04-06bump version for new development branchbcook1-3/+3
2017-04-06first print size in meta-data then supplied arg size when an inconsistency isotto1-3/+3
detected wrt recallocarray()
2017-04-05- -Z before -z in options listjmc2-7/+9
- add -Z to help and usage()
2017-04-05Allow nc to save the peer certificate and chain in a pem file specifiedbeck2-4/+39
with -Z ok jsing@
2017-04-05Add tls_peer_cert_chain_pem - To retreive the peer certificate and chainbeck7-6/+77
as PEM format. This allows for it to be used or examined with tools external to libtls bump minor ok jsing@
2017-04-05Internal changes to allow for relayd engine privsep. sends the hash of thebeck5-29/+87
public key as an identifier to RSA, and adds an function for relayd to use to disable private key checking when doing engine privsep. ok jsing@
2017-04-03Fix silly code that printfs NULL when there are no fractional secondsbeck1-2/+2
on a GENREALIZEDTIME (which there should really never be for anything remotely standards compliant) ok jsing@
2017-03-29rephrase more enumerations of functionsotto1-13/+10
2017-03-29tweak previous;jmc1-3/+5
2017-03-28Fix typo in function name;schwarze1-4/+5
from Markus Triska <triska at metalevel dot at> via OpenSSL commit 1f164c6f.
2017-03-28After i wrote SSL_renegotiate(3) from scratch, OpenSSL alsoschwarze1-12/+109
documented the function. Merge the more detailed descriptions and the additional documentation of SSL_renegotiate_abbreviated(3) and SSL_renegotiate_pending(3). From Matt Caswell, OpenSSL commit 39820637.
2017-03-28small cleanup & optimization; ok deraadt@ millert@otto1-2/+5
2017-03-27repair knf & whitespace that jumped out of the screen during reviewderaadt1-23/+18
ok beck
2017-03-27use a path of "/" if the URL does not include a trailing / - sincebeck1-2/+5
the web server probably doesn't like it, even though you published the url without the trailing / in the certificate. (hello digicert!) ok claudio@
2017-03-27Fail early if an ocep server returns a non-200 http response, there is nobeck1-1/+4
point in trying to parse error pages as an ocsp response.
2017-03-27reinstate the capitalisation from previous, as advised by schwarze;jmc1-3/+3
2017-03-26recallocarray() for data buffer from the net.deraadt1-3/+5
ok beck
2017-03-26tweak previous;jmc3-9/+9
2017-03-26Stop enumeration all allocation functions, just say "allocation functions"libressl-v2.5.2otto1-32/+13
ok jmc@ deraadt@
2017-03-26merge new UI documentation from OpenSSLschwarze5-13/+651
2017-03-25document X509_Digest(3) and friends;schwarze2-1/+135
from Rich Salz <rsalz@openssl.org>, OpenSSL commit 3e5d9da5 etc.
2017-03-25document the public function X509_cmp_time(3);schwarze2-1/+88
from Emilia Kasper <emilia@openssl.org>, OpenSSL commit 80770da3, tweaked by me
2017-03-25correct RETURN VALUES;schwarze1-7/+13
from Richard Levitte <levitte@openssl.org>, OpenSSL commit cdd6c8c5
2017-03-25fix two more prototypes;schwarze1-5/+5
from Matt Caswell <matt@openssl.org>, OpenSSL commit b41f6b64
2017-03-25correct prototypes;schwarze1-5/+5
from Matt Caswell <matt@openssl.org>, OpenSSL commit b41f6b64