diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-08-08 07:16:47 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-08-08 07:16:47 +0000 |
commit | 95837043e269b4e8eb96d0d2933c75c86a399419 (patch) | |
tree | 1bc4af5b98003e4f377ede81e6cf3cde0aeea362 /lib/urldata.h | |
parent | dcfb10fb31ccc93a6affab36c1910201ea5275d9 (diff) |
Patrick Bihan-Faou introduced CURLOPT_SSL_VERIFYHOST and code to deal with
it.
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index 21b225a58..3916b86da 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -129,6 +129,7 @@ struct ssl_config_data { long version; /* what version the client wants to use */ long certverifyresult; /* result from the certificate verification */ long verifypeer; /* set TRUE if this is desired */ + long verifyhost; /* 0: no verif, 1: check that CN exists, 2: CN must match hostname */ char *CApath; /* DOES NOT WORK ON WINDOWS */ char *CAfile; /* cerficate to verify peer against */ char *random_file; /* path to file containing "random" data */ |