Hi,

I statically link with both libcrypto and libssl, and I got this strange
linker warning that I haven't gotten before: 

ssleay32.lib(ADVAPI32.dll) : warning LNK4006: __imp__WriteRaw@12 already
defined in libeay32.lib(ADVAPI32.dll); second definition ignored

Looking at the libs (and in the makefiles) it's obvious that both contain
advapi32.lib. So it seems logical that I should get this warning.

Two questions remain:
1. How come I've never gotten this warning with version 0.9.6a ? I don't see
any relevant change in the makefile.

2. Why include advapi32.lib in the static libs anyways? If I understand
correctly, both openssl libs use dynamic linkage (in crypto\bio\bss_log.c
and in crypto\rand\rand_win.c) and obtain function pointers to advapi32.dll.

        Tal Mozes
        Security & Research Team Leader
        Cyber-Ark Software Ltd.
        +972-8-920 7776 (ext. 224)
        www.cyber-ark.com


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to