diff options
author | Christian Ulrich <christian@ulrich.earth> | 2020-03-22 21:00:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-22 21:00:37 +0100 |
commit | 0ac9c7bb642aefc18a9ca1a7b58f22aea6cf61ce (patch) | |
tree | 4095d436e1d61c088119463380ca54d65ba73a05 /compiler/transf.nim | |
parent | ef2566218e701e6294608c6c30a367624786dcd6 (diff) | |
download | Nim-0ac9c7bb642aefc18a9ca1a7b58f22aea6cf61ce.tar.gz |
introduce getPeerCertificates, fixes #13299 (#13650)
* make i2d_X509 and d2i_X509 always available i2d_X509 and d2i_X509 have been available in all versions of OpenSSL, so make them available even if nimDisableCertificateValidation is set. * introduce getPeerCertificates, fixes #13299 getPeerCertificates retrieves the verified certificate chain of the peer we are connected to through an SSL-wrapped Socket/AsyncSocket. This introduces the new type Certificate which stores a DER-encoded X509 certificate.
Diffstat (limited to 'compiler/transf.nim')
0 files changed, 0 insertions, 0 deletions