Pay attention to the size OpenSSL returns.

This avoids creating an excessively padded signature and potentially
 leaking junk in memory.