Hi All,

Thank you very much for OpenSSL, I have been a happy customer for ages.
;-)

Today I ran into in an issue while trying to change the library name on
the win32 platform (for name spacing to avoid collisions with other
vendors).
- http://cvs.openssl.org/getfile/openssl/util/mkdef.pl?v=1.101 
Roughly lines +138, +147
------------------------------------------------------------------------
---------------
        $do_ssl=1 if $_ eq "ssleay";
        if ($_ eq "ssl") {
                $do_ssl=1; 
                $libname=$_
        }
        $do_crypto=1 if $_ eq "libeay";
        if ($_ eq "crypto") {
                $do_crypto=1;
                $libname=$_;
        }
------------------------------------------------------------------------
-----------------

In the above perl code, there is no way to set $libname to anything
other then "ssl", "ssleay" , "crypto" or "libeay", this is because the
reference to $_ does not change to the next value until the next
iteration of the foreach loop.

The code needs to be updated to look at the next value of $_ during the
next pass to actually set $libname. 
This may be a little tricky and may require a key/value pair to signify
name or a change in how that foreach works all together.

I'll try to come up with a patch.

Cheers,

---
Sander van Zoest
Chief Architect, Director of Architecture
DivX, Inc.
[EMAIL PROTECTED]
http://www.divx.com/
        

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to