Bug #5046
closedUser story #4798: Upgrade to CFEngine 3.6 in rudder-agent
CFEngine fails to build on older OSes due to missing symble in OpenSSL
Description
From a CFEngine 3.6 build :
CC tls_generic.lo tls_generic.c: In function 'TLSSetDefaultOptions': tls_generic.c:702: error: 'SSL_OP_NO_TICKET' undeclared (first use in this function) tls_generic.c:702: error: (Each undeclared identifier is reported only once tls_generic.c:702: error: for each function it appears in.) make[1]: Leaving directory `/usr/src/rudder-packages/package/SOURCES/cfengine-source'
This happens when using an older version of OpenSSL that doesn't have the SSL_OP_NO_TICKET option.
This option is defined as (from https://www.openssl.org/docs/ssl/SSL_CTX_set_options.html):
SSL_OP_NO_TICKET Normally clients and servers will, where possible, transparently make use of RFC4507bis tickets for stateless session resumption. If this option is set this functionality is disabled and tickets will not be used by clients or servers.
So, this option is used to disable the functionality. Older version of OpenSSL don't have the functionality, so we don't need to disable it.
Fortunately, there is a simple workaround: use a #ifdef as explained here: https://bugs.launchpad.net/jabberd2/+bug/383507. This was, this feature is disabled if present, and ignored if not.
Updated by Jonathan CLARKE over 10 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Jonathan CLARKE to Matthieu CERDA
- Pull Request set to https://github.com/Normation/rudder-packages/pull/377
Updated by Jonathan CLARKE over 10 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset packages:commit:3e2ef86a25b05eeb7717daf83d1e638477da938e.
Updated by Matthieu CERDA over 10 years ago
Applied in changeset packages:commit:041320e1a2bcf41b21c214b85650ae6c7f38ac43.
Updated by Vincent MEMBRÉ over 10 years ago
- Project changed from Rudder to 34
- Category deleted (
System integration) - Parent task set to #4798
Updated by Vincent MEMBRÉ over 10 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 2.11.0~beta1 that was released yesterday.
- announcement
- changelog
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/