On Tue, Dec 11, 2018 at 05:41:10PM +0000, Andrey Utkin wrote: > When using LibreSSL instead of Openss, linkage of hostapd executable > fails with error > > ../src/crypto/tls_openssl.o: In function `tls_verify_cb': > tls_openssl.c:(.text+0x1273): undefined reference to `ASN1_STRING_get0_data' > ../src/crypto/tls_openssl.o: In function `tls_connection_peer_serial_num': > tls_openssl.c:(.text+0x3023): undefined reference to `ASN1_STRING_get0_data' > collect2: error: ld returned 1 exit status > make: *** [Makefile:1278: hostapd] Error 1 > > ASN1_STRING_get0_data is present in recent OpenSSL, but absent in > LibreSSL (confirmed for version 2.6.5), so fallback needs to be defined > in this case, just like for old OpenSSL. > > This patch was inspired by similar patches to other projects, such as > spice-gtk, pjsip. Thanks, applied. -- Jouni Malinen PGP id EFC895FA _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap