Add missing return types and fix imprecise type translations. Repair the fallout in the openssl crate.