Based on discussion here https://github.com/libressl-portable/openbsd/pull/82 Suggested fix from jsing@