diff --git a/src/Transport/EPTF_CLL_Transport_IPsecHandler_Logging_Client_Functions.ttcn b/src/Transport/EPTF_CLL_Transport_IPsecHandler_Logging_Client_Functions.ttcn index ccb0006780382317cb178e8d237856e2af099837..4875d392bc08d6435c73afc313da6b90f7539772 100644 --- a/src/Transport/EPTF_CLL_Transport_IPsecHandler_Logging_Client_Functions.ttcn +++ b/src/Transport/EPTF_CLL_Transport_IPsecHandler_Logging_Client_Functions.ttcn @@ -117,8 +117,14 @@ friend function f_EPTF_CLL_Transport_IPsecHandler_Logging_Client_LogSAAddInfo(in var charstring vl_dstAddr := pl_sa_info.dst.ip_address; var integer pl_spi := pl_sa_info.spi; - var Authentication vl_authInfo := pl_sa_info.ipsec_algos.auth; - var Encryption vl_encInfo := pl_sa_info.ipsec_algos.enc; + var Authentication vl_authInfo := { name := NULL_AUTH, key := { text := "" } }; + if (ispresent(pl_sa_info.ipsec_algos.auth)) { + vl_authInfo := pl_sa_info.ipsec_algos.auth; + } + var Encryption vl_encInfo := { name := NULL_ENCR, key := { text :="" } }; + if (ispresent(pl_sa_info.ipsec_algos.enc)) { + vl_encInfo := pl_sa_info.ipsec_algos.enc; + } var octetstring vl_CK; var octetstring vl_IK;