summaryrefslogtreecommitdiff
path: root/nest/password.h
diff options
context:
space:
mode:
Diffstat (limited to 'nest/password.h')
-rw-r--r--nest/password.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/nest/password.h b/nest/password.h
index a45261e6..7392389b 100644
--- a/nest/password.h
+++ b/nest/password.h
@@ -9,12 +9,15 @@
#ifndef PASSWORD_H
#define PASSWORD_H
+
#include "lib/timer.h"
struct password_item {
node n;
- char *password;
- int id;
+ char *password; /* Key data, null terminated */
+ uint length; /* Key length, without null */
+ uint id; /* Key ID */
+ uint alg; /* MAC algorithm */
bird_clock_t accfrom, accto, genfrom, gento;
};