Legrandin / pycryptodome

A self-contained cryptographic library for Python
https://www.pycryptodome.org
Other
2.74k stars 492 forks source link

do not use RTLD_DEEPBIND if PYCRYPTODOME_DISABLE_DEEPBIND is set to empty string #807

Open schenker opened 2 months ago

schenker commented 2 months ago

With this PR, setting PYCRYPTODOME_DISABLE_DEEPBIND to an empty string does disable RTLD_DEEPBING. Before it worked only for nonempty strings. Treating all strings (including the empty string) the same is more intuitive in my opinion.

schenker commented 3 weeks ago

@Legrandin any thoughts on this?