OpenSSL sometimes prints bad privkey. fixed