Skip to content

Conversation

@gwbres
Copy link

@gwbres gwbres commented Feb 27, 2021

@ggreer,

Hello,

This is my attempt at upgrading your library to comply with (at least) openssl-1-1-1d (because that's the current version I have here).

We're facing problems only in ssh.c and sshcrypto.c, the problem is the access to ''bignumbers'' contained in *RSA structure is not public anymore, we need to use the new API.

*RSA->key->e and *RSA->key->n are not accessible, we must use RSA_get0_key(), see https://wiki.openssl.org/index.php/OpenSSL_1.1.0_Changes. This is what I did in ssh.c

In ssh.c->connect() an RSA context is created, we need to use the new API (BN_new() is not available anymore),
good infos here https://stackoverflow.com/questions/16437475/openssl-bn-ctx-usage

@gwbres gwbres marked this pull request as ready for review February 27, 2021 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant