pki_gcrypt: Warn about unsupported PEM export in gcrypt
Based on the following mail thread: https://www.libssh.org/archive/libssh/2019-12/0000027.html Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Этот коммит содержится в:
родитель
9d5616a18c
Коммит
24f450fed1
@ -938,6 +938,8 @@ ssh_string pki_private_key_to_pem(const ssh_key key,
|
|||||||
(void) auth_fn;
|
(void) auth_fn;
|
||||||
(void) auth_data;
|
(void) auth_data;
|
||||||
|
|
||||||
|
SSH_LOG(SSH_LOG_WARN, "PEM export not supported by gcrypt backend!");
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user