- support for key exchange payload

- tested
This commit is contained in:
Martin Willi
2005-11-15 15:44:18 +00:00
parent 260f3338be
commit 22a5e2b8e8
5 changed files with 61 additions and 9 deletions
+3
View File
@@ -27,6 +27,7 @@
#include "ike_header.h"
#include "sa_payload.h"
#include "nonce_payload.h"
#include "ke_payload.h"
@@ -79,6 +80,8 @@ payload_t *payload_create(payload_type_t type)
return (payload_t*)transform_attribute_create();
case NONCE:
return (payload_t*)nonce_payload_create();
case KEY_EXCHANGE:
return (payload_t*)ke_payload_create();
default:
return NULL;
}