CURLOPT_SSL_OPTIONS.md sync formatting with counterpart in PROXY

This commit is contained in:
Viktor Szakats 2025-08-01 13:31:27 +02:00
parent 44834cd5ea
commit 9348e489a3
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -122,8 +122,8 @@ int main(void)
CURLcode res;
curl_easy_setopt(curl, CURLOPT_URL, "https://example.com/");
/* weaken TLS only for use with silly servers */
curl_easy_setopt(curl, CURLOPT_SSL_OPTIONS, CURLSSLOPT_ALLOW_BEAST |
CURLSSLOPT_NO_REVOKE);
curl_easy_setopt(curl, CURLOPT_SSL_OPTIONS,
CURLSSLOPT_ALLOW_BEAST | CURLSSLOPT_NO_REVOKE);
res = curl_easy_perform(curl);
curl_easy_cleanup(curl);
}