HomePhabricator

pki: Search for the PEM headers not only on the start of the key file

Authored by Jakuje on Jun 19 2019, 4:26 PM.

Description

pki: Search for the PEM headers not only on the start of the key file

Fixes: T76 for gcrypt and mbedtls backends

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
(cherry picked from commit d627cba47610f68afc4df54b683fc73d2b43a67a)

Details

Committed
asnJun 24 2019, 3:41 PM
Parents
rLIBSSH551188d99b40: pki: Reformat pki_privatekey_type_from_string()
Branches
Unknown
Tags
Unknown