Skip to content

Add support for OpenSSL 1.1.0 or later #8624

Closed
@akien-mga

Description

Operating system or device - Godot version:
All, but mainly Linux/*BSD - master.

Issue description:
Godot currently can't build against OpenSSL 1.1.0, only against OpenSSL 1.0.x (we ship 1.0.2h in thirdparty/openssl).

modules/openssl/stream_peer_openssl.cpp should be updated to build against the new API. Ideally, it should be able to build against both 1.0.x and 1.1.0, we might be able to use conditional version checks to use the proper API. Eventually, the bundled source should also be updated so that we can continue benefiting from upstream security fixes.

Workaround:
For the time being we should probably default to using the bundled openssl code on X11 (builtin_openssl=yes). Most people providing unofficial binaries don't pay attention to this, and users of distros defaulting to OpenSSL 1.1.0 can't run those binaries without installing a compat package, when provided.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions