Bug 432667 - curl-config --protocols doesn't adverstise HTTPS
Summary: curl-config --protocols doesn't adverstise HTTPS
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: curl
Version: 8
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Jindrich Novy
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-02-13 17:43 UTC by Orion Poplawski
Modified: 2013-07-02 23:26 UTC (History)
1 user (show)

Fixed In Version: 7.18.2-1.fc8
Clone Of:
Environment:
Last Closed: 2008-06-20 19:11:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Correctly test USE_SSL (1.15 KB, patch)
2008-03-26 17:45 UTC, Jean-Louis Martineau
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.