diff options
author | Matt Caswell <matt@openssl.org> | 2016-03-21 16:54:53 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-04-06 14:57:45 +0100 |
commit | 3e41ac35281827b59e55d51058cf6bb086c1f2b5 (patch) | |
tree | a8064c66c48200152a8c6f4ac45a7a93ccfec506 /apps/ocsp.c | |
parent | 7626fbf2ef70e02f47afe59b7dd7210e75371ed7 (diff) | |
download | openssl-3e41ac35281827b59e55d51058cf6bb086c1f2b5.tar.gz |
Fix no-ocsp
Misc fixes for no-ocsp
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'apps/ocsp.c')
-rw-r--r-- | apps/ocsp.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/apps/ocsp.c b/apps/ocsp.c index 574ed8c67f..24d88da5c3 100644 --- a/apps/ocsp.c +++ b/apps/ocsp.c @@ -55,8 +55,12 @@ * Hudson (tjh@cryptsoft.com). * */ -#ifndef OPENSSL_NO_OCSP +#include <openssl/opensslconf.h> + +#ifdef OPENSSL_NO_OCSP +NON_EMPTY_TRANSLATION_UNIT +#else # ifdef OPENSSL_SYS_VMS # define _XOPEN_SOURCE_EXTENDED/* So fd_set and friends get properly defined * on OpenVMS */ @@ -69,8 +73,9 @@ # include <string.h> # include <time.h> # include <ctype.h> -# include "apps.h" /* needs to be included before the openssl - * headers! */ + +/* Needs to be included before the openssl headers */ +# include "apps.h" # include <openssl/e_os2.h> # include <openssl/crypto.h> # include <openssl/err.h> |