Fix use of pem_read_buffer() in PK, DHM and X509
13 files changed