]> git.ipfire.org Git - thirdparty/curl.git/commit
openssl: assume engine support in 1.0.0 or later
authorPaul Howarth <paul@city-fan.org>
Wed, 11 Jul 2018 11:01:38 +0000 (12:01 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 11 Jul 2018 21:40:10 +0000 (23:40 +0200)
commitd6417f6c2ddb10099da2c7ad0ffeebaa732aa824
tree2c9cff5a4b3821ea7a9bde98dcbdbc88e6881efb
parent48cf45c5aa541d1a13d1d82d6a28e7233895c6e9
openssl: assume engine support in 1.0.0 or later

Commit 38203f1585da changed engine detection to be version-based,
with a baseline of openssl 1.0.1. This does in fact break builds
with openssl 1.0.0, which has engine support - the configure script
detects that ENGINE_cleanup() is available - but <openssl/engine.h>
doesn't get included to declare it.

According to upstream documentation, engine support was added to
mainstream openssl builds as of version 0.9.7:
https://github.com/openssl/openssl/blob/master/README.ENGINE

This commit drops the version test down to 1.0.0 as version 1.0.0d
is the oldest version I have to test with.

Closes #2732
lib/vtls/openssl.c