summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sbin/isakmpd/exchange.c4
-rw-r--r--sbin/isakmpd/message.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/sbin/isakmpd/exchange.c b/sbin/isakmpd/exchange.c
index 32663ee1704..2e17f8e67a7 100644
--- a/sbin/isakmpd/exchange.c
+++ b/sbin/isakmpd/exchange.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exchange.c,v 1.2 1998/11/15 00:43:52 niklas Exp $ */
+/* $OpenBSD: exchange.c,v 1.3 1998/11/15 01:11:25 niklas Exp $ */
/*
* Copyright (c) 1998 Niklas Hallqvist. All rights reserved.
@@ -863,6 +863,7 @@ exchange_save_certreq (struct message *msg)
for ( ; cp; cp = TAILQ_NEXT (cp, link))
{
cp->flags |= PL_MARK;
+#if 0
tmp = certreq_decode (GET_ISAKMP_CERTREQ_TYPE (cp->p),
cp->p + ISAKMP_CERTREQ_AUTHORITY_OFF,
GET_ISAKMP_GEN_LENGTH (cp->p) -
@@ -870,6 +871,7 @@ exchange_save_certreq (struct message *msg)
if (tmp == NULL)
continue;
TAILQ_INSERT_TAIL (&exchange->aca_list, tmp, link);
+#endif
}
return 0;
diff --git a/sbin/isakmpd/message.c b/sbin/isakmpd/message.c
index a82d7ca3e3a..496361d9d25 100644
--- a/sbin/isakmpd/message.c
+++ b/sbin/isakmpd/message.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: message.c,v 1.2 1998/11/15 00:44:01 niklas Exp $ */
+/* $OpenBSD: message.c,v 1.3 1998/11/15 01:11:25 niklas Exp $ */
/*
* Copyright (c) 1998 Niklas Hallqvist. All rights reserved.
@@ -363,6 +363,7 @@ message_validate_cert_req (struct message *msg, struct payload *p)
* Check the certificate types we support and if an acceptable authority
* is included in the payload check if it can be decoded
*/
+#if 0
if ((cert = cert_get (GET_ISAKMP_CERTREQ_TYPE (p->p))) == NULL ||
(len && !cert->certreq_validate (p->p + ISAKMP_CERTREQ_AUTHORITY_OFF,
len)))
@@ -370,6 +371,7 @@ message_validate_cert_req (struct message *msg, struct payload *p)
message_drop (msg, ISAKMP_NOTIFY_CERT_TYPE_UNSUPPORTED, 0, 0, 1);
return -1;
}
+#endif
return 0;
}