Bug 432667

Summary: curl-config --protocols doesn't adverstise HTTPS
Product: [Fedora] Fedora Reporter: Orion Poplawski <orion>
Component: curlAssignee: Jindrich Novy <jnovy>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 8CC: pknirsch
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 7.18.2-1.fc8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-06-20 19:11:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Correctly test USE_SSL none

Description Orion Poplawski 2008-02-13 17:43:33 UTC
Description of problem:

$ curl-config --protocols | grep HTTPS
$ curl-config --features | grep SSL
SSL

Version-Release number of selected component (if applicable):
curl-devel-7.17.1-2.fc8

Comment 1 Jean-Louis Martineau 2008-03-22 22:17:29 UTC
In the curl-config script, USE_SSL is set to "yes"
But you do:
          if test "$USE_SSL" = "1"; then
            echo "HTTPS"
          fi

in curl-config, USE_SSL is set with:
  USE_SSL="@USE_SSLEAY@@USE_GNUTLS@@USE_NSS@"
but USE_NSS is 'yes'
USE_SSLEAY or USE_GNUTLS will be 1 if used.

Comment 2 Jean-Louis Martineau 2008-03-26 17:45:48 UTC
Created attachment 299203 [details]
Correctly test USE_SSL

This patch replace the curl-7.16.4-curl-config.patch patch.
It replace two 'test "$USE_SSL" = "1"'
	    by 'test -n "$USE_SSL"'
The patch is required because USE_SSL is set to "yes"

Comment 3 Jindrich Novy 2008-03-31 07:54:18 UTC
The new curl 7.18.1 now contains the new @SSL_ENABLED@ symbol that should fix
it. At least the HTTPS is now correctly advertised for me now.

Comment 4 Fedora Update System 2008-06-19 06:11:48 UTC
curl-7.18.2-1.fc8 has been submitted as an update for Fedora 8

Comment 5 Fedora Update System 2008-06-20 19:11:15 UTC
curl-7.18.2-1.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.