summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/system.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-08-13shorten gendsa;jmc1-20/+12
2016-08-13Avoid leaking memory if tls_config_set_alpn() is called multiple timesjsing1-4/+5
(this was in the original commit, but got reverted in the recommit).
2016-08-13Let libtls load the CA, certificate and key files for nc(1), now that itjsing1-22/+15
does this at the time the tls_config_set_*_file() function is called. ok bluhm@
2016-08-13Load CA, certificate and key files into memory when the appropriatejsing3-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@
2016-08-12Bump libtls minor due to symbol additions.jsing1-1/+1
2016-08-12Add ALPN support to libtls.jsing7-16/+168
ok beck@ doug@
2016-08-12trim errstr, and zap gendh (deprecated) entirely;jmc1-26/+1
2016-08-12shorten openssl enc, with help from jsing;jmc1-201/+39
ok jsing beck
2016-08-10shorten ecparam;jmc1-102/+50
2016-08-09trim the ec text;jmc1-92/+39
2016-08-08trim the dsaparam section; ok guentherjmc1-56/+36
2016-08-07Update the link for the getentropy(2) manual to man.openbsd.org/tb16-32/+32
ok deraadt@
2016-08-05Do not *printf %s NULLderaadt2-4/+6
ok bcook
2016-08-05Obvious minor fixes:schwarze2-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.
2016-08-05shorten the openssl dsa text;jmc1-69/+35
2016-08-05Make RES_OPTIONS point directly to resolv.conf(5) instead of going throughmartijn1-3/+3
resolver(3). OK jmc@
2016-08-03shorten the openssl dhparam text;jmc1-84/+32
guenther helped rewrite the -dsaparam parts.
2016-08-02Revert previous since it adds new symbols.jsing8-170/+16
Requested by deraadt@
2016-08-01Bump TLS_API for addition of ALPN support.jsing1-2/+2
2016-08-01Add ALPN support to libtls.jsing7-15/+168
ok beck@ doug@
2016-08-01shorten the openssl dgst text; in particular, do not try tojmc1-53/+24
list all the available digests;
2016-07-31bump for LibreSSL 2.5.xbcook2-6/+6
2016-07-30use the style from the man page examples for getaddrinfo, which makes ahalex1-21/+19
bit more sense ok jung@ deraadt@
2016-07-28remove HISTORY: it was a nonsense;jmc1-25/+1
2016-07-28some text cutting, after feedback from jsing;jmc1-12/+12
2016-07-23rework crl2pkcs7; with help from jsingjmc1-57/+18
2016-07-21rework DESCRIPTION a little: no-command seems clearer than no-XXX;jmc1-17/+12
2016-07-21rename NOTES to COMMON SYNTAX (explains itself better); rework thejmc1-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;
2016-07-21strip back openssl crl somewhat: remove the examplesjmc1-41/+21
and move any relevant text into the main body;
2016-07-20strip back openssl ciphers:jmc1-106/+60
- rearrange the descriptions of -V and -v to read more logically - move the cipherlist text into the cipherlist description - zap examples
2016-07-19strip back openssl ca: in particular remove some excessively wordy sections,jmc1-337/+120
move some other sections into more relevant places, and remove the example ca file;
2016-07-18don't mix code and decls, ok tedu@bcook2-4/+6
2016-07-17use memset to initialize the unionbcook2-4/+8
2016-07-17remove unused OPENSSL_NO_OBJECT casebcook2-28/+2
ok tedu@
2016-07-17Initialize buffers before use, noted by Kinichiro Inoguchi.bcook2-14/+14
ok beck@
2016-07-17strip back asn1parse; ok beck jsingjmc1-108/+27
description of -out altered on jsing's advice
2016-07-16Clean up OCSP_check_validity() a bit more.beck2-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@
2016-07-16since we no longer pull source directly from openssl, the time isjmc1-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.
2016-07-16Limit the support of the "backward compatible" ssl2 handshake to only bebeck2-2/+18
used if TLS 1.0 is enabled. Sugessted/discussed with jsing@ and bcook@. ok guenther@ sthen@
2016-07-13Adjust existing tls_config_set_cipher() callers for TLS cipher groupjsing1-2/+2
changes - map the previous configuration to the equivalent in the new groups. This will be revisited post release. Discussed with beck@
2016-07-13Split the existing TLS cipher suite groups into four:jsing3-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@
2016-07-13Fix usage() output and getopt sortingguenther1-6/+6
2016-07-10zero the read buffer after copying data to user so it doesn't linger.tedu2-2/+4
ok beck
2016-07-07Revert previous since the libtls change has been reverted.jsing1-16/+24
2016-07-07Revert previous - it introduces problems with a common privsep use case.jsing3-72/+35
2016-07-07add ca cert error check and make the path configurablebcook1-1/+9
from Kinichiro Inoguchi
2016-07-07call BN_init on temporaries to avoid use-before-set warningsbcook6-6/+28
ok beck@
2016-07-06J/j is a three valued option, document and fix code to actuall support thatotto1-3/+5
with a little help from jmc@ for the man page bits ok jca@ and a reluctant tedu@
2016-07-06Check that the given ciphers string is syntactically valid and results injsing1-1/+17
at least one matching cipher suite. ok doug@
2016-07-06Remove manual file loading (now that libtls does this for us) and adjustjsing1-24/+16
pledge to match. Also use tls_config_error() to provide friendlier error messages.