diff options
Diffstat (limited to 'Source/charon/sa/child_sa.h')
-rw-r--r-- | Source/charon/sa/child_sa.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/Source/charon/sa/child_sa.h b/Source/charon/sa/child_sa.h index 7c2e5a399..8a7462594 100644 --- a/Source/charon/sa/child_sa.h +++ b/Source/charon/sa/child_sa.h @@ -33,7 +33,6 @@ typedef struct child_sa_t child_sa_t; /** * @brief Represents a CHILD_SA between to hosts. * - * An IKE_SA must already be established. * * @b Constructors: * - child_sa_create @@ -68,16 +67,6 @@ struct child_sa_t { * @return child_sa_t object * @ingroup sa */ -child_sa_t * child_sa_create(protocol_id_t protocol_id, prf_plus_t *prf_plus); - -/** - * @brief Constructor to create a new CHILD_SA. - * - * @param protocol_id protocol id (AH or ESP) of CHILD_SA - * @param prf_plus prf_plus_t object use to derive shared secrets - * @return child_sa_t object - * @ingroup sa - */ -child_sa_t * child_sa_create_with_spi(protocol_id_t protocol_id, prf_plus_t *prf_plus); +child_sa_t * child_sa_create(child_proposal_t *proposal, prf_plus_t *prf_plus); #endif /*_CHILD_SA_H_*/ |