Skip to content

Instantly share code, notes, and snippets.

@g10guang
Created August 14, 2018 10:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save g10guang/6e12982f5c83692b0d051b450cb4d2cc to your computer and use it in GitHub Desktop.
Save g10guang/6e12982f5c83692b0d051b450cb4d2cc to your computer and use it in GitHub Desktop.
Check ssl version libcurl use.
#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