From: Tobias Brunner Date: Tue, 20 Aug 2019 14:13:11 +0000 (+0200) Subject: authenticator: Add optional method to set IntAuth data X-Git-Tag: 6.0.0rc1~56^2~29 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=91f09b8d25df28b484f134fd8516293046a69b4a;p=thirdparty%2Fstrongswan.git authenticator: Add optional method to set IntAuth data --- diff --git a/src/libcharon/sa/authenticator.h b/src/libcharon/sa/authenticator.h index cafea503c2..0e05f7435f 100644 --- a/src/libcharon/sa/authenticator.h +++ b/src/libcharon/sa/authenticator.h @@ -168,6 +168,16 @@ struct authenticator_t { */ void (*use_ppk)(authenticator_t *this, chunk_t ppk, bool no_ppk_auth); + /** + * Optional method to set authentication data for IKE_INTERMEDIATE + * exchanges. + * + * Has to be called before the final call to process()/build(). + * + * @param int_auth concatenated IntAuth_I|R data + */ + void (*set_int_auth)(authenticator_t *this, chunk_t int_auth); + /** * Check if the authenticator is capable of mutual authentication. *