Re: [PATCH v2] Fix build with LibreSSL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux