From 14aa114854cec49388b36d27072d919db7bd76e4 Mon Sep 17 00:00:00 2001 From: John Safranek Date: Mon, 23 Dec 2013 14:33:44 -0800 Subject: [PATCH] Trimmed unused includes and defines from OCSP source. --- src/ocsp.c | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/src/ocsp.c b/src/ocsp.c index 6933e9748..f36233a45 100644 --- a/src/ocsp.c +++ b/src/ocsp.c @@ -27,41 +27,10 @@ #ifdef HAVE_OCSP -#ifdef EBSNET - #include "rtip.h" - #include "socket.h" -#endif - #include #include #include -#include -#include - -#ifndef EBSNET - #include - #include - #include - #include - #include - #include - #include - #include - #include -#endif - - -CYASSL_API int ocsp_test(unsigned char* buf, int sz); -#define CYASSL_OCSP_ENABLE 0x0001 /* Enable OCSP lookups */ -#define CYASSL_OCSP_URL_OVERRIDE 0x0002 /* Use the override URL instead of URL - * in certificate */ -#define CYASSL_OCSP_NO_NONCE 0x0004 /* Disables the request nonce */ - -typedef struct sockaddr_in SOCKADDR_IN_T; -#define AF_INET_V AF_INET -#define SOCKET_T unsigned int - int CyaSSL_OCSP_Init(CYASSL_OCSP* ocsp) {