diff options
Diffstat (limited to 'apps/ocsp.c')
-rw-r--r-- | apps/ocsp.c | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/apps/ocsp.c b/apps/ocsp.c index c9e7443ca1..c0838f1838 100644 --- a/apps/ocsp.c +++ b/apps/ocsp.c @@ -60,14 +60,26 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include "apps.h" /* needs to be included before the openssl headers! */ #include <openssl/e_os2.h> -#include <openssl/bio.h> -#include <openssl/ocsp.h> -#include <openssl/txt_db.h> #include <openssl/ssl.h> #include <openssl/evp.h> -#include "apps.h" +#if defined(NETWARE_CLIB) +# ifdef NETWARE_BSDSOCK +# include <sys/socket.h> +# include <sys/bsdskt.h> +# else +# include <novsock2.h> +# endif +#elif defined(NETWARE_LIBC) +# ifdef NETWARE_BSDSOCK +# include <sys/select.h> +# else +# include <novsock2.h> +# endif +#endif + /* Maximum leeway in validity period: default 5 minutes */ #define MAX_VALIDITY_PERIOD (5 * 60) |