On Wed, Feb 21, 2001 at 01:29:56PM +0100, Richard Levitte - VMS Whacker wrote:

[...]
> My goals with this was that:
> 
>   - external application should get macros that OpenSSL headers or
>     others depend on without having to take any extra steps.
>   - whatever configuration macros that are defined should be unique to
>     OpenSSL
> 
> The solution was to have all "exported" macros be prefixed with
> OPENSSL_.

Yup.  But I think there are some applications that use opensslconf.h
to test which algorithms were included; and for these applications,
we probably should keep the old-style

     #ifdef OPENSSL_ALGORITHM_DEFINES
        /* ... */
     #endif

and similar sections for some time.  These don't cause any problems,
after all, as long as the application does not define
OPENSSL_ALGORITHM_DEFINES.

(Alternatively, add

     #ifdef OPENSSL_ALGORITHM_DEFINES
     # if defined(OPENSSL_NO_RSA) && !defined(NO_RSA)
     #  defined NO_RSA
     # endif
     # if defined(OPENSSL_NO_DSA) && !defined(NO_DSA)
     #  defined NO_DSA
     # endif
     /* ..... */
     #endif

to openssl.conf.h.in.)


-- 
Bodo Möller <[EMAIL PROTECTED]>
PGP http://www.informatik.tu-darmstadt.de/TI/Mitarbeiter/moeller/0x36d2c658.html
* TU Darmstadt, Theoretische Informatik, Alexanderstr. 10, D-64283 Darmstadt
* Tel. +49-6151-16-6628, Fax +49-6151-16-6036
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to