Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation failure since OpenSSL (alpha 13) #3223

Closed
stac47 opened this issue Mar 16, 2021 · 1 comment
Closed

Compilation failure since OpenSSL (alpha 13) #3223

stac47 opened this issue Mar 16, 2021 · 1 comment
Assignees

Comments

@stac47
Copy link

stac47 commented Mar 16, 2021

Hello,
I am building poco (latest) with gcc11 on Unbuntu 20.10 and I try to build Poco with OpenSSL3. The Poco build fails since OpenSSL alpha 13 with the following error message:

/BUILD/poco-1.10.1-all/Crypto/src/RSACipherImpl.cpp:54:32: error: 'RSA_SSLV23_PADDING' was not declared in this scope; did you mean 'RSA_NO_PADDING'?
   54 |                         return RSA_SSLV23_PADDING;
      |                                ^~~~~~~~~~~~~~~~~~
      |                                RSA_NO_PADDING

The reason is the following commit in OpenSSL:

commit b0aae913246af1d07e728d24f53f55028f61c696
Author: Rich Salz <rsalz@akamai.com>
Date:   Mon Feb 22 12:55:25 2021 -0500

    Remove RSA SSLv23 padding mode

    Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
    Reviewed-by: Tomas Mraz <tomas@openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/14248)
@obiltschnig obiltschnig self-assigned this Mar 16, 2021
@obiltschnig obiltschnig added this to the Release 1.10.2 milestone Mar 16, 2021
@obiltschnig
Copy link
Member

Probably also time to remove SSL2/3 support from POCO altogether.

stac47 pushed a commit to stac47/poco that referenced this issue Mar 16, 2021
As per OpenSSL 3 (since alpha 13), the support of SSL23 has been removed
(openssl/openssl#14248).

Reference: pocoproject#3223
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants