diff options
author | Damien Miller <djm@mindrot.org> | 2018-09-13 04:13:50 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2018-09-13 04:13:50 +0200 |
commit | 48f54b9d12c1c79fba333bc86d455d8f4cda8cfc (patch) | |
tree | 216db3d44f6d07262ce4757e65705fcc9fb6b5fa /sshkey.c | |
parent | forgot to stage these test files in commit d70d061 (diff) | |
download | openssh-48f54b9d12c1c79fba333bc86d455d8f4cda8cfc.tar.xz openssh-48f54b9d12c1c79fba333bc86d455d8f4cda8cfc.zip |
adapt -portable to OpenSSL 1.1x API
Polyfill missing API with replacement functions extracted from LibreSSL
Diffstat (limited to 'sshkey.c')
-rw-r--r-- | sshkey.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -60,6 +60,8 @@ #include "xmss_fast.h" +#include "openbsd-compat/openssl-compat.h" + /* openssh private key file format */ #define MARK_BEGIN "-----BEGIN OPENSSH PRIVATE KEY-----\n" #define MARK_END "-----END OPENSSH PRIVATE KEY-----\n" @@ -1744,7 +1746,6 @@ int sshkey_from_private(const struct sshkey *k, struct sshkey **pkp) { struct sshkey *n = NULL; - int ret = SSH_ERR_INTERNAL_ERROR; int r = SSH_ERR_INTERNAL_ERROR; #ifdef WITH_OPENSSL const BIGNUM *rsa_n, *rsa_e; |