I have a complete working version with "no-rsa" defined.  Several other 
defines are included, as there are other licensing issues as well.  As I 
said in my last post, the kludge is not all that good, but it works.  I 
also had to modify other files as well (defines, mostly).  If you would 
like a copy of these files, let me know, as it is obviously not an official 
solution.   The files I modified are:

crypto\x509\x509_cmp.c
includes\openssl\ssl\ssl.h
util\mkdef.pl

I also created a build script for Windows to create four different versions:

Strong RSA encryption
Weak RSA encryption
Strong Non-RSA encryption
Weak Non-RSA encryption

All versions also do not include IDEA or CAST algorithms for licensing reasons.

An excerpt from the build script to make the Strong Non-RSA encryption 
version follows:

**************************************************************************** 
***********************************************
echo --------------------------------------------------------------
echo.
echo Now building the North American version without RSA code...
echo Output files will be placed in %TARGET_DIR%\%TARGET_SUB_DIR%
echo --------------------------------------------------------------

del ssl\ssl.h > nul
copy ..\SSLMods\ssl\sslna.h ssl\ssl.h > nul
del util\mkdef.pl > nul
copy ..\SSLMods\util\mkdef.pl util > nul
del crypto\x509\x509_cmp.c > nul
copy ..\SSLMods\crypto\x509\x509_cmp.c crypto\x509 > nul

perl Configure no-asm no-rsa no-ssl2 no-rc2 no-rc4 no-rc5 no-idea no-cast 
VC-WIN32
if errorlevel == 1 goto errorend
perl util\mkfiles.pl > MINFO
if errorlevel == 1 goto errorend
perl util\mk1mf.pl dll no-asm no-rsa no-ssl2 no-rc2 no-rc4 no-rc5 no-idea 
no-cast VC-WIN32 > ms\nsrntdll.mak
if errorlevel == 1 goto errorend
perl util\mkdef.pl 32 no-rsa no-ssl2 no-rc2 no-rc4 no-rc5 no-idea no-cast 
libeay > ms\libeay32.def
if errorlevel == 1 goto errorend
perl util\mkdef.pl 32 no-rsa no-ssl2 no-rc2 no-rc4 no-rc5 no-idea no-cast 
ssleay > ms\ssleay32.def
if errorlevel == 1 goto errorend
nmake -f ms\nsrntdll.mak
if errorlevel == 1 goto errorend
call :CopySub %TARGET_DIR% %TARGET_SUB_DIR%
if errorlevel == 1 goto errorend
goto endmsg

**************************************************************************** 
********************************

At 09:34 AM 11/30/1999 -0800, Sean Walker wrote:
>"Schachter, Steve" wrote:
> >
> > Has anyone been able to compile using the "no-rsa" flag under WindowNT. I
> > get 26 unresolved functions at link time. This appears to happen because
> > there are functions in libeay32.def that are from files that are not
> > compiled.
>Not a chance. The defines are incorrect and remove essential functions.
>There are several functions that get removed by the defines that are
>required elsewhere in the code that is non-rsa dependant code. Removing
>the entries from the .def files will not fix it as they are used in the
>code. I don't know enough about the code to fix it, or else I would have
>already.
>
>Sean Walker
>Dingbat Designs
>______________________________________________________________________
>OpenSSL Project                                 http://www.openssl.org
>Development Mailing List                       [EMAIL PROTECTED]
>Automated List Manager                           [EMAIL PROTECTED]

Bruce LeMaster
Software Development Engineer
Hummingbird Communications, Inc.
Raleigh, NC  27603

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

Reply via email to