www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: [libssh2] #289: Configure check for EVP_aes_128_ctr does not work properly

[libssh2] #289: Configure check for EVP_aes_128_ctr does not work properly

From: libssh2 Trac <trac_at_libssh2.stuge.se>
Date: Wed, 03 Dec 2014 19:17:23 -0000

#289: Configure check for EVP_aes_128_ctr does not work properly
--------------------------------------+--------------------
 Reporter: maurerpe | Owner:
     Type: defect | Status: new
 Priority: normal | Milestone: 1.4.3
Component: misc | Version: 1.4.2
 Keywords: autoconf EVP_aes_128_ctr | Blocked By:
   Blocks: |
--------------------------------------+--------------------
 configure never detects EVP_aes_128_ctr even when it is present in
 openssl. I have confirmed this in libssh2 1.4.3 using both openssl 1.0.1h
 and libressl 2.0.5.

 The issue seems to be the order in which libraries appear on the command
 line for the configure test. I have a simple patch that resolves the
 issue and causes libssh2 to properly detect EVP_aes_128_ctr for both
 openssl and libressl.

 The solution is to use put the libs (-lcrypto -lssl) in the LIBS variable
 and not the LDFLAGS variable. Patch attached.

-- 
Ticket URL: <https://trac.libssh2.org/ticket/289>
libssh2 <https://trac.libssh2.org/>
C library for writing portable SSH2 clients
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2014-12-03

the libssh2 team