[EMAIL PROTECTED] wrote:
> 
> That seems very complicated.  How about doing this
> in the Makefile
> test: cipherlist
> cipherlist: cipherlist.c
>         ..usual CC rules.
> And cipherlist is
>         main()
>         {
> #ifndef NO_DES
>         printf("des_cfb\ndes_ede_cfb\ndes_ede3_cfb\n...")
> 
> and so on.
> Then the test is
>         for I in `cipherlist` ; do

Hmmm thats not portable to single Makefile stuff like Win32 which would
need a special case of course.

How about a 'test' application that works similar to the openssl
application which has all the tests linked into it and unimplemented
stuff #ifdef'ed out? You could then run it as:
test des_cfb
or 
test all
this should hopefully work on all platforms. Most of the code could be
pinched from apps/

Steve.
P.S. Yeah I know: "you suggested it, you get to write it" :-)
-- 
Dr Stephen N. Henson.   http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED] 
Senior crypto engineer, Celo Communications: http://www.celocom.com/
Core developer of the   OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.

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

Reply via email to