Fix guards in SSL for ECDH key exchanges