[PATCH v2] libcrypto: fix compilation with LibreSSL

2019-07-01 Thread Stefan Strogin
LibreSSL does not support FIPS mode, check for FIPS_mode() in ConfigureChecks.cmake. Signed-off-by: Stefan Strogin --- ConfigureChecks.cmake | 4 include/libssh/libcrypto.h | 4 2 files changed, 8 insertions(+) diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 643a

Re: [PATCH v2] libcrypto: fix compilation with LibreSSL

2019-07-02 Thread Andreas Schneider
On Monday, July 1, 2019 5:19:55 PM CEST Stefan Strogin wrote: > LibreSSL does not support FIPS mode, check for FIPS_mode() in > ConfigureChecks.cmake. Hi Stefan, this looks good for me. Thanks for your contribution! Andreas > > Signed-off-by: Stefan Strogin > --- > ConfigureChecks.c

Re: [PATCH v2] libcrypto: fix compilation with LibreSSL

2019-07-02 Thread Andreas Schneider
On Monday, 1 July 2019 17:19:55 CEST Stefan Strogin wrote: > LibreSSL does not support FIPS mode, check for FIPS_mode() in > ConfigureChecks.cmake. Sorry, this doesn't work as there is no definition in config.h.cmake for it. Also I think it should be a function so that config.h is included! http

Re: [PATCH v2] libcrypto: fix compilation with LibreSSL

2019-07-03 Thread Stefan Strogin
On 02/07/2019 21:19, Andreas Schneider wrote: > On Monday, 1 July 2019 17:19:55 CEST Stefan Strogin wrote: >> LibreSSL does not support FIPS mode, check for FIPS_mode() in >> ConfigureChecks.cmake. > > Sorry, this doesn't work as there is no definition in config.h.cmake for it. > Also I think it