I couldn't come up with any good solutions. I would suggest speaking to the OpenSSL folk. They must be aware of the issue, so what do they recommend, do they have any plans to fix it, and if there's anything you can do to help them.
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных