diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2013-05-19 15:31:45 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2013-05-19 15:31:45 +0000 |
commit | 84eb03f43a6bc47fe041b893a9aaa6773ffc29d5 (patch) | |
tree | 99d2470662339b90dc9b873a8496cc2e20d67f0a /src/htstools.c | |
parent | 3c78185e9ac0c3d900c6688fb9040ae2d0f107eb (diff) |
openssl is no longer dynamically probed at stratup, but dynamically linked
Diffstat (limited to 'src/htstools.c')
-rw-r--r-- | src/htstools.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/htstools.c b/src/htstools.c index 3a5ca70..6f614b7 100644 --- a/src/htstools.c +++ b/src/htstools.c @@ -170,13 +170,9 @@ int ident_url_relatif(const char *lien, const char *origin_adr, #endif #if HTS_USEOPENSSL } else if (strfield(lien, "https://")) { - if (SSL_is_available) { - // Note: ftp:foobar.gif is not valid - if (ident_url_absolute(lien, adr, fil) == -1) { - ok = -1; // erreur URL - } - } else { - ok = -1; + // Note: ftp:foobar.gif is not valid + if (ident_url_absolute(lien, adr, fil) == -1) { + ok = -1; // erreur URL } #endif } else if ((scheme) && ((!strfield(lien, "http:")) |