From 56cb3bedc2634a44ea41587566c2889f5b5f5b5b Mon Sep 17 00:00:00 2001 From: Pavel TvrdĂ­k Date: Tue, 26 Jan 2016 16:45:13 +0100 Subject: Nest: Add support for MAC algorithms in grammar --- nest/password.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'nest/password.h') 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; }; -- cgit v1.2.3