Forum OpenACS Development: openssl and tclhttpc.c

Collapse
Posted by Maurizio Martignano on
Dear all,
sorry if I use this forum as opposed to the Naviserver [devel] list.
I believe that in the file tclhttpc.c
the lines:

#ifdef HAVE_OPENSSL_EVP_H
# include <openssl/err.h>
#endif

shoud actually be

#ifdef HAVE_OPENSSL_EVP_H
# include <openssl/err.h>
# include <openssl/ssl.h>
#endif

Thank you and sorry,
Maurizio

Collapse
2: Re: openssl and tclhttpc.c (response to 1)
Posted by Gustaf Neumann on
openssl/ssl.h is included by include/ns.h, which is included by nsd/nsd.h, which is already included by tclhttp.c. There is no reason for including it twice.

Why not posting to naviserver-devel?

Collapse
3: Re: openssl and tclhttpc.c (response to 2)
Posted by Maurizio Martignano on
Well, it beats me. With the additional line the file compiles (for me); without it doesn't.

Thank you anyhow.