Incorporate @purp's change.
Upgrade libssl as well.