diff options
Diffstat (limited to 'src/pluto/ocsp.c')
-rw-r--r-- | src/pluto/ocsp.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/pluto/ocsp.c b/src/pluto/ocsp.c index a338be446..7dedbf1f7 100644 --- a/src/pluto/ocsp.c +++ b/src/pluto/ocsp.c @@ -12,6 +12,7 @@ * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * for more details. * + * RCSID $Id: ocsp.c 3253 2007-10-06 21:39:00Z andreas $ */ #include <unistd.h> @@ -35,7 +36,7 @@ #include "asn1.h" #include "certs.h" #include "smartcard.h" -#include "oid.h" +#include <asn1/oid.h> #include "whack.h" #include "pkcs1.h" #include "keys.h" @@ -1087,13 +1088,13 @@ valid_ocsp_response(response_t *res) static bool parse_basic_ocsp_response(chunk_t blob, int level0, response_t *res) { - u_int level, version; - u_int extn_oid = OID_UNKNOWN; - u_char buf[BUF_LEN]; asn1_ctx_t ctx; bool critical; chunk_t object; + u_int level, version; + u_char buf[BUF_LEN]; int objectID = 0; + int extn_oid = OID_UNKNOWN; asn1_init(&ctx, blob, level0, FALSE, DBG_RAW); @@ -1190,9 +1191,8 @@ parse_ocsp_response(chunk_t blob, response_t * res) chunk_t object; u_int level; int objectID = 0; - + int ocspResponseType = OID_UNKNOWN; response_status rStatus = STATUS_INTERNALERROR; - u_int ocspResponseType = OID_UNKNOWN; asn1_init(&ctx, blob, 0, FALSE, DBG_RAW); |