summaryrefslogtreecommitdiff
path: root/sshkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshkey.c')
-rw-r--r--sshkey.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sshkey.c b/sshkey.c
index 085f17079..6f2c9d44b 100644
--- a/sshkey.c
+++ b/sshkey.c
@@ -60,6 +60,8 @@
60 60
61#include "xmss_fast.h" 61#include "xmss_fast.h"
62 62
63#include "openbsd-compat/openssl-compat.h"
64
63/* openssh private key file format */ 65/* openssh private key file format */
64#define MARK_BEGIN "-----BEGIN OPENSSH PRIVATE KEY-----\n" 66#define MARK_BEGIN "-----BEGIN OPENSSH PRIVATE KEY-----\n"
65#define MARK_END "-----END OPENSSH PRIVATE KEY-----\n" 67#define MARK_END "-----END OPENSSH PRIVATE KEY-----\n"
@@ -1744,7 +1746,6 @@ int
1744sshkey_from_private(const struct sshkey *k, struct sshkey **pkp) 1746sshkey_from_private(const struct sshkey *k, struct sshkey **pkp)
1745{ 1747{
1746 struct sshkey *n = NULL; 1748 struct sshkey *n = NULL;
1747 int ret = SSH_ERR_INTERNAL_ERROR;
1748 int r = SSH_ERR_INTERNAL_ERROR; 1749 int r = SSH_ERR_INTERNAL_ERROR;
1749#ifdef WITH_OPENSSL 1750#ifdef WITH_OPENSSL
1750 const BIGNUM *rsa_n, *rsa_e; 1751 const BIGNUM *rsa_n, *rsa_e;