Ulf Möller wrote:
>> The dladdr() function used in DSO_pathbyaddr within
>> crypto/dso/dso_dlfcn.c is not a standard function, though
>> quite a few OSs appear to have it. Those that specifically
>> don't (that I've tested) are:
>>
>> AIX 4.3.3+
>> AIX 5.1 (though 5.2/5.3 may have it, though it may be
>>      Itanium only, not POWER).
>> SCO Openserver 5 (OpenServer 6 looks like it has it)
>>  
>>
> Cygwin doesn't either.

I would think cygwin would use the dso_win32 instead, but
I've never tried, truthfully...

> 
>> The odd thing is grepping through the entire source tree,
>> I can find no reference to that function.  Nothing appears
>> to ever call it.
>>
> Applications can call it through the DSO_METHOD structure. I think the
> purpose is to allow applications to obtain additional information. I
> will change the code to make dlfcn_pathbyaddr return -1 on systems that
> are not know to have Dl_info.

Well, the DSO_METHOD structure doesn't seem to have a place for the
DSO_pathbyaddr, it's not referenced in there at all ...  Though if it
will be used in the future, it would be good not to have dladdr() as
a requirement :)

Thanks for the reply!
-Brad

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to