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>

Details

Committed
JakujeJun 19 2019, 6:01 PM
Parents
rLIBSSH23c837f4d00a: pki: Reformat pki_privatekey_type_from_string()
Branches
Unknown
Tags
Unknown