"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "libcfnet/tls_generic.c" between
cfengine-3.12.5.tar.gz and cfengine-3.12.6.tar.gz

About: CFEngine is a configuration management system for configuring and maintaining Unix-like computers (using an own high level policy language). Community version. LTS (Long Term Support) release.

tls_generic.c  (cfengine-3.12.5):tls_generic.c  (cfengine-3.12.6)
skipping to change at line 898 skipping to change at line 898
/* In any case use only TLS v1 or later. */ /* In any case use only TLS v1 or later. */
long options = SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3; long options = SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3;
enum tls_version min_tls_version = TLS_LOWEST_REQUIRED; enum tls_version min_tls_version = TLS_LOWEST_REQUIRED;
if (!NULL_OR_EMPTY(min_version)) if (!NULL_OR_EMPTY(min_version))
{ {
bool found = false; bool found = false;
for (enum tls_version v = TLS_1_0; !found && v <= TLS_LAST; v++) for (enum tls_version v = TLS_1_0; !found && v <= TLS_LAST; v++)
{ {
if (StringSafeEqual(min_version, tls_version_strings[v])) if (StringEqual(min_version, tls_version_strings[v]))
{ {
found = true; found = true;
if (v < TLS_LOWEST_REQUIRED) if (v < TLS_LOWEST_REQUIRED)
{ {
Log(LOG_LEVEL_WARNING, "Minimum requested TLS version is %s, " Log(LOG_LEVEL_WARNING, "Minimum requested TLS version is %s, "
" but minimum version required by CFEngine is %s." " but minimum version required by CFEngine is %s."
" Using the minimum required version.", " Using the minimum required version.",
min_version, tls_version_strings[TLS_LOWEST_REQUIRED]); min_version, tls_version_strings[TLS_LOWEST_REQUIRED]);
min_tls_version = TLS_LOWEST_REQUIRED; min_tls_version = TLS_LOWEST_REQUIRED;
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)