Fix undocumented feature of pem_read_buffer()

Used to work only for RSAPrivateKey content, now accepts ECPrivateKey too,
and may even work with similar enough structures when they appear.
2 files changed