summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sbin/isakmpd/exchange.c4
-rw-r--r--sbin/isakmpd/ike_auth.c3
-rw-r--r--sbin/isakmpd/message.c4
3 files changed, 7 insertions, 4 deletions
diff --git a/sbin/isakmpd/exchange.c b/sbin/isakmpd/exchange.c
index 2e17f8e67a7..cc19e35f351 100644
--- a/sbin/isakmpd/exchange.c
+++ b/sbin/isakmpd/exchange.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exchange.c,v 1.3 1998/11/15 01:11:25 niklas Exp $ */
+/* $OpenBSD: exchange.c,v 1.4 1998/11/15 01:13:26 niklas Exp $ */
/*
* Copyright (c) 1998 Niklas Hallqvist. All rights reserved.
@@ -857,8 +857,10 @@ int
exchange_save_certreq (struct message *msg)
{
struct payload *cp = TAILQ_FIRST (&msg->payload[ISAKMP_PAYLOAD_CERT_REQ]);
+#if 0
struct exchange *exchange = msg->exchange;
struct certreq_aca *tmp;
+#endif
for ( ; cp; cp = TAILQ_NEXT (cp, link))
{
diff --git a/sbin/isakmpd/ike_auth.c b/sbin/isakmpd/ike_auth.c
index 6527e3144a4..e961c862cc1 100644
--- a/sbin/isakmpd/ike_auth.c
+++ b/sbin/isakmpd/ike_auth.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ike_auth.c,v 1.4 1998/11/15 01:09:59 niklas Exp $ */
+/* $OpenBSD: ike_auth.c,v 1.5 1998/11/15 01:13:27 niklas Exp $ */
/*
* Copyright (c) 1998 Niklas Hallqvist. All rights reserved.
@@ -52,7 +52,6 @@
#include "pkcs.h"
#include "prf.h"
-static u_int8_t *enc_gen_skeyid (struct exchange *, size_t *);
static u_int8_t *pre_shared_gen_skeyid (struct exchange *, size_t *);
static u_int8_t *sig_gen_skeyid (struct exchange *, size_t *);
diff --git a/sbin/isakmpd/message.c b/sbin/isakmpd/message.c
index 496361d9d25..0385170e3de 100644
--- a/sbin/isakmpd/message.c
+++ b/sbin/isakmpd/message.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: message.c,v 1.3 1998/11/15 01:11:25 niklas Exp $ */
+/* $OpenBSD: message.c,v 1.4 1998/11/15 01:13:27 niklas Exp $ */
/*
* Copyright (c) 1998 Niklas Hallqvist. All rights reserved.
@@ -350,8 +350,10 @@ message_validate_cert (struct message *msg, struct payload *p)
static int
message_validate_cert_req (struct message *msg, struct payload *p)
{
+#if 0
struct cert_handler *cert;
size_t len = GET_ISAKMP_GEN_LENGTH (p->p)- ISAKMP_CERTREQ_AUTHORITY_OFF;
+#endif
if (GET_ISAKMP_CERTREQ_TYPE (p->p) >= ISAKMP_CERTENC_RESERVED_MIN)
{