Skip to content

fix: build error with OpenSSL 4.0 - #10223

Merged
nilsding merged 1 commit into
nextcloud:masterfrom
raviksharma:fix-openssl4-compat
Jun 23, 2026
Merged

fix: build error with OpenSSL 4.0#10223
nilsding merged 1 commit into
nextcloud:masterfrom
raviksharma:fix-openssl4-compat

Conversation

@raviksharma

Copy link
Copy Markdown
Contributor

X509_REQ_get_subject_name() now returns const X509_NAME * in OpenSSL 4.0.
Per the OpenSSL migration guide, create a mutable X509_NAME, populate it,
and set it on the request with X509_REQ_set_subject_name().

Fixes https://bugs.launchpad.net/ubuntu/+source/nextcloud-desktop/+bug/2154940

X509_REQ_get_subject_name() now returns const X509_NAME * in OpenSSL 4.0.
Per the OpenSSL migration guide, create a mutable X509_NAME, populate it,
and set it on the request with X509_REQ_set_subject_name().

Fixes https://bugs.launchpad.net/ubuntu/+source/nextcloud-desktop/+bug/2154940

Signed-off-by: Ravi Kant Sharma <[email protected]>
@raviksharma
raviksharma force-pushed the fix-openssl4-compat branch from 4504e47 to f358885 Compare June 23, 2026 07:02
@mgallien mgallien self-assigned this Jun 23, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Artifact containing the AppImage: nextcloud-appimage-pr-10223.zip

Digest: sha256:7b492fe47f5eba25b37e823ae569935de4d4dac8af1982fe050a53922956156d

To test this change/fix you can download the above artifact file, unzip it, and run it.

Please make sure to quit your existing Nextcloud app and backup your data.

@nilsding nilsding left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for your contribution!

@nilsding

Copy link
Copy Markdown
Member

/backport to stable-33.0 please

@nilsding

Copy link
Copy Markdown
Member

/backport to stable-34.0 please

@nilsding nilsding linked an issue Jun 23, 2026 that may be closed by this pull request
@nilsding
nilsding merged commit 06a686d into nextcloud:master Jun 23, 2026
20 of 21 checks passed
@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!

(If you believe you should not receive this message, you can add yourself to the blocklist.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build failure with OpenSSL 4.0

3 participants