Created
August 14, 2018 10:58
-
-
Save g10guang/6e12982f5c83692b0d051b450cb4d2cc to your computer and use it in GitHub Desktop.
Check ssl version libcurl use.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include "curl/curl.h" | |
int main() { | |
curl_version_info_data* ver = curl_version_info(CURLVERSION_NOW); | |
std::cout << ver->ssl_version << std::endl; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment