--- embedaddon/strongswan/src/libstrongswan/plugins/pkcs11/pkcs11_dh.c 2020/06/03 09:46:44 1.1.1.1 +++ embedaddon/strongswan/src/libstrongswan/plugins/pkcs11/pkcs11_dh.c 2021/03/17 00:20:08 1.1.1.2 @@ -139,12 +139,6 @@ METHOD(diffie_hellman_t, set_other_public_value, bool, pubkey.len, pubkey.ptr, }; - - if (!lib->settings->get_bool(lib->settings, - "%s.ecp_x_coordinate_only", TRUE, lib->ns)) - { /* we only get the x coordinate back */ - return FALSE; - } value = chunk_from_thing(params); break; }