ifdef out EVP_R_PRIVATE_KEY_DECODE_ERROR
EVP_R_PRIVATE_KEY_DECODE_ERROR was added in OpenSSL 1.0.0 so ifdef out for the benefit of OpenSSL versions prior to that.
This commit is contained in:
parent
155d540d00
commit
bd5d7d2395
2
sshkey.c
2
sshkey.c
|
@ -3812,7 +3812,9 @@ sshkey_parse_private_pem_fileblob(struct sshbuf *blob, int type,
|
||||||
goto out;
|
goto out;
|
||||||
case EVP_R_BN_DECODE_ERROR:
|
case EVP_R_BN_DECODE_ERROR:
|
||||||
case EVP_R_DECODE_ERROR:
|
case EVP_R_DECODE_ERROR:
|
||||||
|
#ifdef EVP_R_PRIVATE_KEY_DECODE_ERROR
|
||||||
case EVP_R_PRIVATE_KEY_DECODE_ERROR:
|
case EVP_R_PRIVATE_KEY_DECODE_ERROR:
|
||||||
|
#endif
|
||||||
r = SSH_ERR_INVALID_FORMAT;
|
r = SSH_ERR_INVALID_FORMAT;
|
||||||
goto out;
|
goto out;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue