Bug fixes in the openssl encrypted PEM key parsing.