Move from deprecated openssl API
Move from deprecated openssl API

The openssl library has migrated to a `finish2` call that does not
allocate the digest, but returns it inline.  Move to this new api to
prevent this warning, as well as reduce (slightly) the number of
allocations we do.

d3zd3z/rsure