mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:21:41 +03:00
openssl: drop includes unused or duplicate
Also: - vquic-tls.h: do not include unused headers for non-H3 builds. - autotools: stop looking for `openssl/x509.h` header. - cmp-config.pl: delete exception for `openssl/x509.h`. - examples: format/comment sync between the two touched files. - openssl: drop unused `curlx/wait.h` include. Closes #20049
This commit is contained in:
parent
43baf7a426
commit
a468e605eb
9 changed files with 11 additions and 19 deletions
|
|
@ -28,7 +28,6 @@
|
|||
|
||||
/* Requires: USE_OPENSSL */
|
||||
|
||||
#include <openssl/err.h>
|
||||
#include <openssl/ssl.h>
|
||||
|
||||
#include <stdio.h>
|
||||
|
|
|
|||
|
|
@ -38,9 +38,9 @@
|
|||
#endif
|
||||
|
||||
#include <openssl/ssl.h>
|
||||
#include <openssl/x509.h>
|
||||
#include <openssl/pem.h>
|
||||
|
||||
#include <curl/curl.h>
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#if defined(__GNUC__) || defined(__clang__)
|
||||
|
|
@ -189,7 +189,7 @@ int main(void)
|
|||
else
|
||||
printf("*** transfer failed ***\n");
|
||||
|
||||
/* second try: retrieve page using user certificate and key -> succeeds
|
||||
/* second try: retrieve page using user certificate and key -> succeeds to
|
||||
* load the certificate and key by installing a function doing
|
||||
* the necessary "modifications" to the SSL CONTEXT just before link init
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue