From: Dr S N Henson <[EMAIL PROTECTED]>
drh> Well the relevant functions and variables are declared with a macro:
drh>
drh> DECLARE_ASN1_FUNCTIONS(SOME_ASN1_THING)
Doesn't look too difficult. Replace "extern const" with
"OPENSSL_EXTERN const"...
drh> this appears in some OpenSSL headers. It may also appear in some
drh> external DLL headers if they declare their own ASN1 modules. AFAICs this
drh> means the OpenSSL header version has to import variables and the DLL
drh> header export them when the external DLL is built. When the external DLL
drh> is being linked to everything is import.
drh>
drh> Hmmm... I'll have to think about this a bit more.
Do you see a flaw with having mk1mf.pl add a -DOPENSSL_BUILD_SHLIB to
the C flags and have e_os2.h defined OPENSSL_EXTERN for Win32 with the
correct value depending on if OPENSSL_BUILD_SHLIB exists or not?
I've got all that hacked into my work directory rght now. Untested.
Do you want me to commit?
--
Richard Levitte \ Spannv�gen 38, II \ [EMAIL PROTECTED]
Chairman@Stacken \ S-168 35 BROMMA \ T: +46-8-26 52 47
Redakteur@Stacken \ SWEDEN \ or +46-709-50 36 10
Procurator Odiosus Ex Infernis -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/
Software Engineer, Celo Communications: http://www.celocom.com/
Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]