summaryrefslogtreecommitdiff
path: root/sys/src/ape/lib/sec/tlsclient.c
AgeCommit message (Collapse)Author
2017-04-23libsec: sha256 support for thumbprint files, use it in ssh as wellcinap_lenrek
initThumbprints() now takes an application tag argument so x509 and ssh can coexist. the thumbprint entries can now hold both sha1 and sha256 hashes. okThumbprint() now takes a len argument for the hash length used. the new function okCertificate() hashes the certificate with both and checks for any matches. on failure, okCertificate() returns 0 and sets error string. we also check for include loops now in thumbfiles, limiting the number of includes to 8.
2016-04-11ape: add libauth, libbio, libmp and libsec as replacements for opensslcinap_lenrek