Ngx_event_openssl_stapling.c vs. openssl version

There seems to be a version dependency on opnessl in ngnix1.4.
I can build it on one platform but not the other where there’s slightly
older version of openssl header files. Specifically,
ngx_event_openssl_stapling.c references some constants which are
only defined in newer version of tls1.h. It would be nice to make the
code working across different versions of libraries. Is that a known
issue?

  • Alder

Hello!

On Wed, May 08, 2013 at 10:17:23AM -0700, Alder N. wrote:

There seems to be a version dependency on opnessl in ngnix1.4.
I can build it on one platform but not the other where there’s slightly
older version of openssl header files. Specifically,
ngx_event_openssl_stapling.c references some constants which are
only defined in newer version of tls1.h. It would be nice to make the
code working across different versions of libraries. Is that a known issue?

Are you seeing build failures? If yes, with which version of
OpenSSL?

It is expected to always compile fine, degrading to “ssl_stapling
ignored, not supported” warnings if OpenSSL is too old.


Maxim D.
http://nginx.org/en/donation.html

It’s compilation error. I don’t have the exact error message at hand,
but it’s referencing a macro that’s not defined in newer versions
of tls1.h. but not in slightly older versions of tls1.h.