On Tue, Oct 11, 2016, Bernhard Rosenkraenzer wrote:
>
>
> Also from Qt 5.7:
> rsa = RSA_new();
> memcpy(rsa, EVP_PKEY_get1_RSA(pkey), sizeof(RSA));
> [breaks because sizeof(RSA) is no longer known]
> for EC, there's EC_KEY_dup -- for RSA and DSA, not so much.
>
That wouldn't work because the R
Hi Bero,
Just based on the questions it sounds like you might be trying to port Qt.
I've already done this, and the branch is here:
https://github.com/richmoore/qtbase/commits/openssl11
It'll be added as a new backend once the configure changes that are
underway are completed. See
https://wiki.qt
On 10/10/16 23:56, Bernhard Rosenkraenzer wrote:
> Hi,
> I'm porting some code to OpenSSL 1.1 -- for the most part, it's going
> well, but there's some things I'm not sure about:
>
> - What replaces a direct access to "sha1_hash" in an X509? (found in Qt 5.7)
You could use X509_digest() to calc
Hi,
I'm porting some code to OpenSSL 1.1 -- for the most part, it's going well, but
there's some things I'm not sure about:
- What replaces a direct access to "sha1_hash" in an X509? (found in Qt 5.7)
So far, haven't come up with a proper alternative to this. Should the code be
refactored to u