diff options
Diffstat (limited to 'meta/recipes-devtools/librepo/librepo/0005-Fix-typo-correct-LRO_SSLVERIFYHOST-with-CURLOPT_SSL_.patch')
-rw-r--r-- | meta/recipes-devtools/librepo/librepo/0005-Fix-typo-correct-LRO_SSLVERIFYHOST-with-CURLOPT_SSL_.patch | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/meta/recipes-devtools/librepo/librepo/0005-Fix-typo-correct-LRO_SSLVERIFYHOST-with-CURLOPT_SSL_.patch b/meta/recipes-devtools/librepo/librepo/0005-Fix-typo-correct-LRO_SSLVERIFYHOST-with-CURLOPT_SSL_.patch deleted file mode 100644 index b0c7d1ca30..0000000000 --- a/meta/recipes-devtools/librepo/librepo/0005-Fix-typo-correct-LRO_SSLVERIFYHOST-with-CURLOPT_SSL_.patch +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | From a4bbbccce6edc1a2d1bd475506e2975fd7696c88 Mon Sep 17 00:00:00 2001 | ||
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | ||
3 | Date: Thu, 8 Jun 2017 16:31:30 +0800 | ||
4 | Subject: [PATCH] Fix typo: correct LRO_SSLVERIFYHOST with | ||
5 | CURLOPT_SSL_VERIFYHOST | ||
6 | |||
7 | In commit 51d32c6cd88ba0139c32793183fd6a236c1ef456 | ||
8 | --- | ||
9 | Author: Tomas Mlcoch <tmlcoch@redhat.com> | ||
10 | Date: Mon May 5 14:31:35 2014 +0200 | ||
11 | |||
12 | Add LRO_SSLVERIFYPEER and LRO_SSLVERIFYHOST options (RhBug: 1093014) | ||
13 | --- | ||
14 | |||
15 | It incorrectly setopt CURLOPT_SSL_VERIFYPEER for LRO_SSLVERIFYHOST. | ||
16 | Use CURLOPT_SSL_VERIFYHOST to correct. | ||
17 | |||
18 | Upstream-Status: Submitted | ||
19 | |||
20 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
21 | --- | ||
22 | librepo/handle.c | 2 +- | ||
23 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
24 | |||
25 | diff --git a/librepo/handle.c b/librepo/handle.c | ||
26 | index ccea79b..ff39db4 100644 | ||
27 | --- a/librepo/handle.c | ||
28 | +++ b/librepo/handle.c | ||
29 | @@ -629,7 +629,7 @@ lr_handle_setopt(LrHandle *handle, | ||
30 | |||
31 | case LRO_SSLVERIFYHOST: | ||
32 | handle->sslverifyhost = va_arg(arg, long) ? 2 : 0; | ||
33 | - c_rc = curl_easy_setopt(c_h, CURLOPT_SSL_VERIFYPEER, handle->sslverifyhost); | ||
34 | + c_rc = curl_easy_setopt(c_h, CURLOPT_SSL_VERIFYHOST, handle->sslverifyhost); | ||
35 | break; | ||
36 | |||
37 | case LRO_SSLCLIENTCERT: | ||
38 | -- | ||
39 | 2.7.4 | ||
40 | |||