Permalink
Browse files

update check for OpenSSL and ignore deprecation

this allows compilation using OpenSSL 1.1.
  • Loading branch information...
toanju committed Jul 13, 2017
1 parent e432486 commit 1f719d11e5ae563f0ab85bb5c98ffb59354ae02d
Showing with 2 additions and 2 deletions.
  1. +1 −1 config/openssl.m4
  2. +1 −1 src/rofl/common/Makefile.am
View
@@ -1,7 +1,7 @@
#Detecting crypto and ssl
ssl_detected="yes"
AC_CHECK_LIB(ssl, SSL_library_init, , ssl_detected="no")
AC_CHECK_LIB(ssl, SSL_accept, , ssl_detected="no")
AC_CHECK_LIB(crypto, ERR_get_error, , ssl_detected="no")
AC_MSG_CHECKING(for availability of openssl and crypto libraries(SSL/TLS))
@@ -86,4 +86,4 @@ library_include_HEADERS= \
AM_CPPFLAGS=-fPIC
AM_CPPFLAGS=-fPIC -Wno-error=deprecated-declarations

0 comments on commit 1f719d1

Please sign in to comment.