I can confirm that updating to (a backport of) erlang-p1-tls 1.0.25-2 from Debian fixes the problem (erlang-p1-utils 1.0.13-1 is needed as a build dependency).
I can confirm that updating to (a backport of) erlang-p1-tls 1.0.25-2 from Debian fixes the problem (erlang-p1-utils 1.0.13-1 is needed as a build dependency).