Lines Matching defs:ecdh
2989 if (s->s3->tmp.ecdh != NULL)
2990 EC_KEY_free(s->s3->tmp.ecdh);
3039 if (s->s3->tmp.ecdh != NULL)
3041 EC_KEY_free(s->s3->tmp.ecdh);
3042 s->s3->tmp.ecdh = NULL;
3211 EC_KEY *ecdh = NULL;
3223 ecdh = (EC_KEY *)parg;
3226 if (!EC_KEY_generate_key(ecdh))
3228 EC_KEY_free(ecdh);
3235 s->cert->ecdh_tmp = ecdh;
3543 EC_KEY *ecdh = NULL;
3550 ecdh = EC_KEY_dup((EC_KEY *)parg);
3551 if (ecdh == NULL)
3558 if (!EC_KEY_generate_key(ecdh))
3560 EC_KEY_free(ecdh);
3570 cert->ecdh_tmp = ecdh;