curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Identifying secure transfers

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 11 Apr 2017 14:54:42 +0200 (CEST)

On Tue, 11 Apr 2017, Samuel Hurst wrote:

> Just a quick question, is there any nice way of discovering whether a given
> libcurl transfer was done in a secure manner? I.e. one of the
> curl_easy_getinfo() calls to tell me if TLS was used.

How about curl_easy_getinfo's CURLINFO_PROTOCOL or CURLINFO_SCHEME ?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2017-04-11