/[smecontribs]/rpms/phpMyAdmin/contribs10/phpMyAdmin-certs.patch
ViewVC logotype

Annotation of /rpms/phpMyAdmin/contribs10/phpMyAdmin-certs.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Sun Feb 28 08:33:44 2021 UTC (3 years, 3 months ago) by jpp
Branch: MAIN
CVS Tags: phpMyAdmin-5_1_0-1_el7_sme, HEAD
* Sun Feb 28 2021 Jean-Philipe Pialasse <tests@pialasse.com> 5.1.0-1.sme
- Upgrade to 5.1.0 [SME: 11043]
  use epel spec with some modifications from remi

1 jpp 1.1 diff -up ./libraries/classes/Utils/HttpRequest.php.rpm ./libraries/classes/Utils/HttpRequest.php
2     --- ./libraries/classes/Utils/HttpRequest.php.rpm 2019-09-12 15:57:49.955739598 +0200
3     +++ ./libraries/classes/Utils/HttpRequest.php 2019-09-12 15:58:00.262698588 +0200
4     @@ -141,12 +141,12 @@ class HttpRequest
5     *
6     * See https://letsencrypt.org/certificates/
7     */
8     - $certsDir = ROOT_PATH . 'libraries/certs/';
9     + $certsDir = '/etc/pki/tls/';
10     /* See code below for logic */
11     if ($ssl == CURLOPT_CAPATH) {
12     $curlStatus &= curl_setopt($curlHandle, CURLOPT_CAPATH, $certsDir);
13     } elseif ($ssl == CURLOPT_CAINFO) {
14     - $curlStatus &= curl_setopt($curlHandle, CURLOPT_CAINFO, $certsDir . 'cacert.pem');
15     + $curlStatus &= curl_setopt($curlHandle, CURLOPT_CAINFO, $certsDir . 'cert.pem');
16     }
17    
18     $curlStatus &= curl_setopt($curlHandle, CURLOPT_RETURNTRANSFER, true);

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed