On 2016/12/02 13:37, Shadi Aljendi wrote: > Hello, > > Sorry for the previous erroneous email. It was sent before I add my comments. > > I am trying to install opencoonect on OBSD5.9. Here is what I am getting. Your easiest fix is to build against gnutls (or even easier, use the openconnect package, which is also built against gnutls). > # make > make? all-recursive > ? CC?????? libopenconnect_la-openssl-esp.lo > openssl-esp.c: In function 'destroy_esp_ciphers': > openssl-esp.c:48: error: implicit declaration of function 'HMAC_CTX_free' > openssl-esp.c:48: warning: nested extern declaration of 'HMAC_CTX_free' > openssl-esp.c: In function 'init_esp_ciphers': > openssl-esp.c:97: error: implicit declaration of function 'HMAC_CTX_new' Otherwise you'll need to make changes along these lines in several places, however I don't recommend it. -#if OPENSSL_VERSION_NUMBER < 0x10100000L +#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) and -#if OPENSSL_VERSION_NUMBER >= 0x10100000L +#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)