Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

add support for OpenSSL 1.1#444

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
special merged 3 commits intoricochet-im:masterfromsatta:openssl_1.1
Oct 17, 2016
Merged

add support for OpenSSL 1.1#444

special merged 3 commits intoricochet-im:masterfromsatta:openssl_1.1
Oct 17, 2016

Conversation

satta
Copy link
Contributor

OpenSSL 1.1 introduces some API changes (https://wiki.openssl.org/index.php/1.1_API_Changes) which affect building of Ricochet. This PR adds some extra code to enable compiling with both the old and the new API.Please review carefully before merging!

@@ -119,12 +129,14 @@ bool CryptoKey::loadFromFile(const QString &path, KeyType type, KeyFormat format

bool CryptoKey::isPrivate() const
{
return isLoaded() && d->key->p != 0;
const BIGNUM *p, *q;
RSA_get0_factors(d->key, &p, &q);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

This will crash in the!isLoaded() case

@special
Copy link
Member

Otherwise, I think this looks ok. We'll want to try building with LibreSSL and make sure that still works too. Thanks!

@satta
Copy link
ContributorAuthor

satta commentedAug 16, 2016
edited
Loading

I think my latest addition addressed the issue you were raising. Thanks for the feedback!

@specialspecial mentioned this pull requestOct 17, 2016
12 tasks
@specialspecial merged commitb1d5584 intoricochet-im:masterOct 17, 2016
@sattasatta deleted the openssl_1.1 branchOctober 18, 2016 04:16
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@satta@special

[8]ページ先頭

©2009-2025 Movatter.jp