FIPS enabled OpenSSL fails to load libeay32.dll in Windows CE 6

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

FIPS enabled OpenSSL fails to load libeay32.dll in Windows CE 6

Abhijit Ray Chaudhury
Hi,

I have compiled openssl-fips and openssl in Windows CE 6. But when I
run "fips_premain_dso.exe libeay32.dll" in target environment I get
following error:

=============

217450134:error:2507606A:DSO support routines:WIN32_BIND_FUNC:could
not bind to the requested symbol
name:.\crypto\dso\dso_win32.c:296:symname(FINGERPRINT_premain)

217450134:error:2506C06A:DSO support routines:DSO_bind_func:could not
bind to the requested symbol name:.\crypto\dso\dso_lib.c:294:

=================

Which means GetProcAddress is failing for symbol name
FINGERPRINT_premain. But if I do "dumpbin /exports libeay32.dll", I
can see the symbol FINGERPRINT_premain exported.

Could you kindly let me know , what could be going wrong ?

Thanks in advance,
-Abhijit
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: FIPS enabled OpenSSL fails to load libeay32.dll in Windows CE 6

wrowe
On Tue, 21 May 2013 16:12:45 +0530
Abhijit Ray Chaudhury <[hidden email]> wrote:
>
> Which means GetProcAddress is failing for symbol name
> FINGERPRINT_premain. But if I do "dumpbin /exports libeay32.dll", I
> can see the symbol FINGERPRINT_premain exported.

Quote that output line from dumpbin, exactly.  Namespace decoration \
gets messy.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: FIPS enabled OpenSSL fails to load libeay32.dll in Windows CE 6

Abhijit Ray Chaudhury
Hi William,

Thanks a lot for responding. I am attaching herewith the output of dumpbin.

Thanks,
-Abhijit

On Tue, May 21, 2013 at 11:52 PM, William A. Rowe Jr.
<[hidden email]> wrote:
> On Tue, 21 May 2013 16:12:45 +0530
> Abhijit Ray Chaudhury <[hidden email]> wrote:
>>
>> Which means GetProcAddress is failing for symbol name
>> FINGERPRINT_premain. But if I do "dumpbin /exports libeay32.dll", I
>> can see the symbol FINGERPRINT_premain exported.
>
> Quote that output line from dumpbin, exactly.  Namespace decoration \
> gets messy.

dumpbin_out.zip (83K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: FIPS enabled OpenSSL fails to load libeay32.dll in Windows CE 6

wrowe
In reply to this post by Abhijit Ray Chaudhury
On Tue, 21 May 2013 16:12:45 +0530
Abhijit Ray Chaudhury <[hidden email]> wrote:

> Hi,
>
> I have compiled openssl-fips and openssl in Windows CE 6. But when I
> run "fips_premain_dso.exe libeay32.dll" in target environment I get
> following error:
>
> =============
>
> 217450134:error:2507606A:DSO support routines:WIN32_BIND_FUNC:could
> not bind to the requested symbol
> name:.\crypto\dso\dso_win32.c:296:symname(FINGERPRINT_premain)
>
> 217450134:error:2506C06A:DSO support routines:DSO_bind_func:could not
> bind to the requested symbol name:.\crypto\dso\dso_lib.c:294:
>
> =================
>
> Which means GetProcAddress is failing for symbol name
> FINGERPRINT_premain. But if I do "dumpbin /exports libeay32.dll", I
> can see the symbol FINGERPRINT_premain exported.

You are correct (from dumpbin), which leads me to question whether
you hadn't run the fips_premain_dso.exe binary in the CE 6 emulation
environment, but perhaps ran a win32 flavor of fips_premain_dso.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: FIPS enabled OpenSSL fails to load libeay32.dll in Windows CE 6

Abhijit Ray Chaudhury
Hi William,

Thanks a lot. Found the problem , it was loading another libeay32.dll
which does not have fips. I changed the name of my library now it
finds the symbol.

Thanks again,
-Abhijit

On Thu, May 23, 2013 at 3:22 AM, William A. Rowe Jr.
<[hidden email]> wrote:

> On Tue, 21 May 2013 16:12:45 +0530
> Abhijit Ray Chaudhury <[hidden email]> wrote:
>
>> Hi,
>>
>> I have compiled openssl-fips and openssl in Windows CE 6. But when I
>> run "fips_premain_dso.exe libeay32.dll" in target environment I get
>> following error:
>>
>> =============
>>
>> 217450134:error:2507606A:DSO support routines:WIN32_BIND_FUNC:could
>> not bind to the requested symbol
>> name:.\crypto\dso\dso_win32.c:296:symname(FINGERPRINT_premain)
>>
>> 217450134:error:2506C06A:DSO support routines:DSO_bind_func:could not
>> bind to the requested symbol name:.\crypto\dso\dso_lib.c:294:
>>
>> =================
>>
>> Which means GetProcAddress is failing for symbol name
>> FINGERPRINT_premain. But if I do "dumpbin /exports libeay32.dll", I
>> can see the symbol FINGERPRINT_premain exported.
>
> You are correct (from dumpbin), which leads me to question whether
> you hadn't run the fips_premain_dso.exe binary in the CE 6 emulation
> environment, but perhaps ran a win32 flavor of fips_premain_dso.
>
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]