[issue21015] support SSL_CTX_set_ecdh_auto on newer OpenSSLs

Antoine Pitrou report at bugs.python.org
Sat Mar 22 16:38:54 CET 2014


Antoine Pitrou added the comment:

> I know it doesn't segfault or raise an error if you do that, but I don't know if it:
> 
> 1) Replaces the already called ECDH Curve
> 2) Adds to the already called ECDH Curve
> 3) Silently Does Nothing.

Judging by OpenSSL's code, it replaces the already called ECDH curve.

(from s3_lib.c:

		if (s->cert->ecdh_tmp != NULL)
			EC_KEY_free(s->cert->ecdh_tmp);
		s->cert->ecdh_tmp = ecdh;

)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21015>
_______________________________________


More information about the Python-bugs-list mailing list