mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: curl: Update to 7.76.0 [security fixes].
Fixes CVE-2021-22876 and CVE-2021-22890. * gnu/packages/curl.scm (curl): Update to 7.76.0.
This commit is contained in:
parent
c5dd10b24c
commit
2e0b1b62e9
2 changed files with 4 additions and 4 deletions
|
@ -47,14 +47,14 @@ diff -ur curl-7.66.0.orig/lib/url.c curl-7.66.0/lib/url.c
|
|||
+ extern char * Curl_ssl_cert_dir;
|
||||
+ extern char * Curl_ssl_cert_file;
|
||||
+ if(Curl_ssl_cert_dir) {
|
||||
+ if(result = Curl_setstropt(&set->str[STRING_SSL_CAPATH_ORIG], Curl_ssl_cert_dir))
|
||||
+ if(result = Curl_setstropt(&set->str[STRING_SSL_CAPATH], Curl_ssl_cert_dir))
|
||||
+ return result;
|
||||
+ if(result = Curl_setstropt(&set->str[STRING_SSL_CAPATH_PROXY], Curl_ssl_cert_dir))
|
||||
+ return result;
|
||||
+ }
|
||||
+
|
||||
+ if(Curl_ssl_cert_file) {
|
||||
+ if(result = Curl_setstropt(&set->str[STRING_SSL_CAFILE_ORIG], Curl_ssl_cert_file))
|
||||
+ if(result = Curl_setstropt(&set->str[STRING_SSL_CAFILE], Curl_ssl_cert_file))
|
||||
+ return result;
|
||||
+ if(result = Curl_setstropt(&set->str[STRING_SSL_CAFILE_PROXY], Curl_ssl_cert_file))
|
||||
+ return result;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue