summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sshkey.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sshkey.c b/sshkey.c
index 05675920f..31710e59e 100644
--- a/sshkey.c
+++ b/sshkey.c
@@ -3812,7 +3812,9 @@ sshkey_parse_private_pem_fileblob(struct sshbuf *blob, int type,
goto out;
case EVP_R_BN_DECODE_ERROR:
case EVP_R_DECODE_ERROR:
+#ifdef EVP_R_PRIVATE_KEY_DECODE_ERROR
case EVP_R_PRIVATE_KEY_DECODE_ERROR:
+#endif
r = SSH_ERR_INVALID_FORMAT;
goto out;
default: