diff options
author | 2001-05-30 18:22:10 +0000 | |
---|---|---|
committer | 2001-05-30 18:22:10 +0000 | |
commit | 5e9e1d78d8a7236a173bb6b825c4783c074a5499 (patch) | |
tree | 361870a9c7ce341786fd076eb9963eba4fb8bf82 | |
parent | The 'file' argument is optional since if one is not given the programs (diff) | |
download | wireguard-openbsd-5e9e1d78d8a7236a173bb6b825c4783c074a5499.tar.xz wireguard-openbsd-5e9e1d78d8a7236a173bb6b825c4783c074a5499.zip |
Add comments on what the credential types are.
-rw-r--r-- | sys/net/pfkeyv2.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pfkeyv2.h b/sys/net/pfkeyv2.h index f9415e33752..7677e8d4a29 100644 --- a/sys/net/pfkeyv2.h +++ b/sys/net/pfkeyv2.h @@ -286,8 +286,8 @@ struct sadb_cred { #define PFKEYV2_SENDMESSAGE_BROADCAST 3 #define SADB_CREDTYPE_NONE 0 -#define SADB_CREDTYPE_X509 1 -#define SADB_CREDTYPE_KEYNOTE 2 +#define SADB_CREDTYPE_X509 1 /* ASN1 encoding of the certificate */ +#define SADB_CREDTYPE_KEYNOTE 2 /* NUL-terminated buffer */ #define SADB_CREDTYPE_MAX 3 #define PFKEYV2_AUTH_LOCAL 0 |