diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2008-01-03 22:43:04 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2008-01-03 22:43:04 +0000 |
commit | eef0c1f34c7b7d6a38e02f3294eb509aef081749 (patch) | |
tree | fb49441433ca3bf20230eeeca5a6e423a9888174 /apps/ocsp.c | |
parent | 82a243132723ac27a81d689722e94e05e18992a0 (diff) |
Netware support.
Submitted by: Guenter Knauf <eflash@gmx.net>
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) |