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 <rep...@bugs.python.org>
<http://bugs.python.org/issue21015>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to