summaryrefslogtreecommitdiff
path: root/src/pluto/ocsp.c
diff options
context:
space:
mode:
authorRene Mayrhofer <rene@mayrhofer.eu.org>2007-10-26 14:10:02 +0000
committerRene Mayrhofer <rene@mayrhofer.eu.org>2007-10-26 14:10:02 +0000
commit49104abddf3d71d5abf5cf75dc7f95fa6c55fa63 (patch)
tree28f7a72e5dec4abf908fd7874bdab776281310bc /src/pluto/ocsp.c
parent7b0305f59ddab9ea026b202a8c569912e5bf9a90 (diff)
downloadvyos-strongswan-49104abddf3d71d5abf5cf75dc7f95fa6c55fa63.tar.gz
vyos-strongswan-49104abddf3d71d5abf5cf75dc7f95fa6c55fa63.zip
[svn-upgrade] Integrating new upstream version, strongswan (4.1.8)
Diffstat (limited to 'src/pluto/ocsp.c')
-rw-r--r--src/pluto/ocsp.c12
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);