diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 2001-06-12 21:50:37 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 2001-06-12 21:50:37 +0000 |
commit | 3ffa1825849ee66f9ab9ade9d79657d9c8dbfa65 (patch) | |
tree | 8fc907e052ba82e3d47ef50e03dcf35230277145 | |
parent | fb9f7b4a383f158fc8b51c6d33289b12c2712d30 (diff) |
comment style
-rw-r--r-- | sbin/isakmpd/sa.h | 28 |
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; |