curl/lib/vtls
Viktor Szakats 9153ba708b
openssl: add CURL_BORINGSSL_VERSION to identify BoringSSL
BoringSSL doesn't keep a version number, and doesn't self-identify itself
via any other revision number via its own headers. We can identify
BoringSSL revisions by their commit hash. This hash is typically known by
the builder. This patch adds a way to pass this hash to libcurl, so that
it can display in the curl version string:

For example:

`CFLAGS=-DCURL_BORINGSSL_VERSION="c239ffd0"`

```
curl 7.84.0 (x86_64-w64-mingw32) libcurl/7.84.0 BoringSSL/c239ffd0 (Schannel) zlib/1.2.12 [...]
Release-Date: 2022-06-27
Protocols: dict file ftp ftps gopher gophers http https imap imaps ldap ldaps mqtt pop3 [...]
Features: alt-svc AsynchDNS brotli gsasl HSTS HTTP2 HTTP3 HTTPS-proxy IDN IPv6 Kerberos [...]
```

The setting is optional, and if not passed, BoringSSL will appear without
a version number, like before this patch.

Closes #9113
2022-07-08 10:12:15 +00:00
..
bearssl.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
bearssl.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
gskit.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
gskit.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
gtls.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
gtls.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
hostcheck.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
hostcheck.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
keylog.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
keylog.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
mbedtls_threadlock.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
mbedtls_threadlock.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
mbedtls.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
mbedtls.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
nss.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
nssg.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
openssl.c openssl: add CURL_BORINGSSL_VERSION to identify BoringSSL 2022-07-08 10:12:15 +00:00
openssl.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
rustls.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
rustls.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
schannel_verify.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
schannel.c windows: improve random source 2022-07-04 09:38:24 +00:00
schannel.h curl_setup: include _mingw.h 2022-06-23 03:34:51 -04:00
sectransp.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
sectransp.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
vtls.c urldata: make 'buffer_size' an unsigned int 2022-07-04 23:03:44 +02:00
vtls.h vtls: make curl_global_sslset thread-safe 2022-06-16 03:18:40 -04:00
wolfssl.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
wolfssl.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
x509asn1.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
x509asn1.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00