>so I guess it was intentionally by Eric that dh.h doesn't include bn.h. But
>then the question remains: Why this hack instead of #include "bn.h"? Does
>anybody know more?

The same construct appears in x509.h, but only after including rsa.h
and dsa.h, i.e. it is used only if both NO_RSA and NO_DSA are defined.
asn1.h on the other hand includes bn.h directly.

I don't see any reason why dh.h should be different from rsa.h and
dsa.h.

There is something similar in ssl2.h:

#ifndef HEADER_SSL_LOCL_H
#define  CERT           char
#endif

As far as I can see, CERT is not used anywhere.

Any comments about the use of FILE? (In des.h, stdio.h is included
first, but not in the other header files. A number of the prototypes
that use FILE are not used if certain macros are defined.)
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]
  • dh.h Ulf M�ller
    • Re: dh.h Ralf S. Engelschall
      • Ulf M�ller

Reply via email to