summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/cert.h
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>2001-06-05 05:59:44 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>2001-06-05 05:59:44 +0000
commite8ee8c9924bfcf827210f23d970afcbf845282f1 (patch)
treeab71069102a4b436c16554fc057b3d5fd642b0fd /sbin/isakmpd/cert.h
parentf8f93869537c880f8d74cdf06b9d563b3e2ef466 (diff)
Style issues and commentary
Diffstat (limited to 'sbin/isakmpd/cert.h')
-rw-r--r--sbin/isakmpd/cert.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/sbin/isakmpd/cert.h b/sbin/isakmpd/cert.h
index accb03db0e3..387432c1e66 100644
--- a/sbin/isakmpd/cert.h
+++ b/sbin/isakmpd/cert.h
@@ -1,9 +1,9 @@
-/* $OpenBSD: cert.h,v 1.7 2001/05/31 20:20:26 angelos Exp $ */
+/* $OpenBSD: cert.h,v 1.8 2001/06/05 05:59:42 niklas Exp $ */
/* $EOM: cert.h,v 1.8 2000/09/28 12:53:27 niklas Exp $ */
/*
* Copyright (c) 1998, 1999 Niels Provos. All rights reserved.
- * Copyright (c) 2000 Niklas Hallqvist. All rights reserved.
+ * Copyright (c) 2000, 2001 Niklas Hallqvist. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -45,8 +45,8 @@
/*
* CERT handler for each kind of certificate:
*
- * cert_init - Initialize CERT handler - called only once
- * cert_get - Get a certificate in internal representation from raw data
+ * cert_init - Initialize CERT handler - called only once.
+ * cert_get - Get a certificate in internal representation from raw data.
* cert_validate - validated a certificate, if it returns != 0 we can use it.
* cert_insert - inserts cert into memory storage, we can retrieve with
* cert_obtain.
@@ -77,14 +77,13 @@ struct cert_handler {
void *(*cert_from_printable) (char *);
};
-/* the acceptable authority of cert request */
-
+/* The acceptable authority of cert request. */
struct certreq_aca {
TAILQ_ENTRY (certreq_aca) link;
u_int16_t id;
struct cert_handler *handler;
- void *data; /* if NULL everything is acceptable */
+ void *data; /* if NULL everything is acceptable. */
};
struct certreq_aca *certreq_decode (u_int16_t, u_int8_t *, u_int32_t);