summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/sa.h
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/isakmpd/sa.h')
-rw-r--r--sbin/isakmpd/sa.h28
1 files changed, 19 insertions, 9 deletions
diff --git a/sbin/isakmpd/sa.h b/sbin/isakmpd/sa.h
index 526f391df12..94d7f2b676b 100644
--- a/sbin/isakmpd/sa.h
+++ b/sbin/isakmpd/sa.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sa.h,v 1.22 2001/05/31 20:23:17 angelos Exp $ */
+/* $OpenBSD: sa.h,v 1.23 2001/06/12 21:50:36 niklas Exp $ */
/* $EOM: sa.h,v 1.58 2000/10/10 12:39:01 provos Exp $ */
/*
@@ -146,21 +146,31 @@ struct sa {
/* Policy session ID, where applicable, copied over from the exchange */
int policy_id;
- /* Used only by KeyNote, to store the key used to authenticate Phase 1 */
- char *keynote_key; /* printable format */
+ /*
+ * The key used to authenticate phase 1, in printable format, used only by
+ * KeyNote.
+ */
+ char *keynote_key;
/*
- * Certs or other information from Phase 1; these are copied from the
+ * Certificates or other information from Phase 1; these are copied from the
* exchange, so look at exchange.h for an explanation of their use.
*/
int recv_certtype, recv_keytype;
- void *recv_cert; /* Certificate received from peer, native format */
- void *recv_key; /* Key peer used to authenticate, native format */
+ /* Certificate received from peer, native format. */
+ void *recv_cert;
+ /* Key peer used to authenticate, native format. */
+ void *recv_key;
- /* Certs or other information we used to authenticate to the peer, Phase 1 */
+ /*
+ * Certificates or other information we used to authenticate to the peer,
+ * Phase 1.
+ */
int sent_certtype, sent_keytype;
- void *sent_cert; /* Certificate (to be) sent to peer, native format */
- void *sent_key; /* Key we'll use to authenticate to peer, native format */
+ /* Certificate (to be) sent to peer, native format. */
+ void *sent_cert;
+ /* Key we'll use to authenticate to peer, native format. */
+ void *sent_key;
/* DOI-specific opaque data. */
void *data;