Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@akeles85
Copy link
Contributor

@akeles85 akeles85 commented Feb 10, 2023

Some methods of OpenSSL is deprecated after V3. This PR makes the cpp-client to be compatible with both versions later than 3 and before version 3.

fixes #1091
fixes #1092

@akeles85 akeles85 added this to the 5.2.0 milestone Feb 10, 2023
@akeles85 akeles85 self-assigned this Feb 10, 2023
@akeles85 akeles85 linked an issue Feb 10, 2023 that may be closed by this pull request
@devOpsHazelcast
Copy link
Contributor

Linux test PASSed.

@devOpsHazelcast
Copy link
Contributor

Windows test PASSed.

@devOpsHazelcast
Copy link
Contributor

Linux test FAILed.

@devOpsHazelcast
Copy link
Contributor

Windows test PASSed.

@devOpsHazelcast
Copy link
Contributor

Linux test FAILed.

@devOpsHazelcast
Copy link
Contributor

Linux test PASSed.

@devOpsHazelcast
Copy link
Contributor

Windows test PASSed.

@akeles85 akeles85 linked an issue Feb 14, 2023 that may be closed by this pull request
@akeles85 akeles85 changed the title Ssl version 3 Ssl version 3 [API-1872] Feb 17, 2023
@devOpsHazelcast
Copy link
Contributor

Windows test PASSed.

@devOpsHazelcast
Copy link
Contributor

Linux test PASSed.

@akeles85 akeles85 merged commit aa133f8 into hazelcast:master Feb 21, 2023
@akeles85 akeles85 deleted the ssl_version_3 branch February 27, 2023 08:47
JackPGreen added a commit to hazelcast/client-compatibility-suites that referenced this pull request Jun 27, 2025
The compatibility tests [fail for C++ `5.0`/`5.1`](https://github.com/hazelcast/client-compatibility-suites/actions/runs/15851234939):
```HazelcastTests7.cpp:1591:5: error: ‘FIPS_mode_set’ was not declared in this scope```

This is caused by an incompatibility with the older unit test code against OpenSSL `v3`, which was addressed on the C++ client side in hazelcast/hazelcast-cpp-client#1098

The environment obtains OpenSSL as a `gdb` dependency via `apt`, it's version is not static:
https://github.com/hazelcast/client-compatibility-suites/blob/8b735bf75002fff2b39f7fb7833c99d78352497e/.github/workflows/server_compatibility.yaml#L612
```
openssl version
OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024)
```

Fixed by disabling the SSL tests in C++ clients <5.3.

[Example execution](https://github.com/hazelcast/client-compatibility-suites/actions/runs/15922002955).

Fixes: [DI-556](https://hazelcast.atlassian.net/browse/DI-556)
JackPGreen added a commit to hazelcast/client-compatibility-suites that referenced this pull request Jun 27, 2025
The compatibility tests [fail for C++ `5.0`/`5.1`](https://github.com/hazelcast/client-compatibility-suites/actions/runs/15851234939):
```HazelcastTests7.cpp:1591:5: error: ‘FIPS_mode_set’ was not declared in this scope```

This is caused by an incompatibility with the older unit test code against OpenSSL `v3`, which was addressed on the C++ client side in hazelcast/hazelcast-cpp-client#1098

The environment obtains OpenSSL as a `gdb` dependency via `apt`, it's version is not static:
https://github.com/hazelcast/client-compatibility-suites/blob/8b735bf75002fff2b39f7fb7833c99d78352497e/.github/workflows/server_compatibility.yaml#L612
```
openssl version
OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024)
```

Fixed by disabling the SSL tests in C++ clients <5.3.

[Example execution](https://github.com/hazelcast/client-compatibility-suites/actions/runs/15922002955).

Fixes: [DI-556](https://hazelcast.atlassian.net/browse/DI-556)
JackPGreen added a commit to hazelcast/client-compatibility-suites that referenced this pull request Jun 27, 2025
The compatibility tests [fail for C++ `5.0`/`5.1`](https://github.com/hazelcast/client-compatibility-suites/actions/runs/15851234939):
```HazelcastTests7.cpp:1591:5: error: ‘FIPS_mode_set’ was not declared in this scope```

This is caused by an incompatibility with the older unit test code against OpenSSL `v3`, which was addressed on the C++ client side in hazelcast/hazelcast-cpp-client#1098

The environment obtains OpenSSL as a `gdb` dependency via `apt`, it's version is not static:
https://github.com/hazelcast/client-compatibility-suites/blob/8b735bf75002fff2b39f7fb7833c99d78352497e/.github/workflows/server_compatibility.yaml#L612
```
openssl version
OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024)
```

Fixed by disabling the SSL tests in C++ clients <5.3.

Example execution.

Fixes: [DI-556](https://hazelcast.atlassian.net/browse/DI-556)
JackPGreen added a commit to hazelcast/client-compatibility-suites that referenced this pull request Jun 30, 2025
The compatibility tests [fail for C++ `5.0`/`5.1`](https://github.com/hazelcast/client-compatibility-suites/actions/runs/15851234939):
```HazelcastTests7.cpp:1591:5: error: ‘FIPS_mode_set’ was not declared in this scope```

This is caused by an incompatibility with the older unit test code against OpenSSL `v3`, which was addressed on the C++ client side in hazelcast/hazelcast-cpp-client#1098

The environment obtains OpenSSL as a `gdb` dependency via `apt`, it's version is not static:
https://github.com/hazelcast/client-compatibility-suites/blob/8b735bf75002fff2b39f7fb7833c99d78352497e/.github/workflows/server_compatibility.yaml#L612
```
openssl version
OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024)
```

Fixed by disabling the SSL tests in C++ clients <5.3.

Example execution.

Fixes: [DI-556](https://hazelcast.atlassian.net/browse/DI-556)
JackPGreen added a commit to hazelcast/client-compatibility-suites that referenced this pull request Jul 3, 2025
The compatibility tests [fail for C++
`5.0`/`5.1`](https://github.com/hazelcast/client-compatibility-suites/actions/runs/15851234939):
```HazelcastTests7.cpp:1591:5: error: ‘FIPS_mode_set’ was not declared in this scope```

This is caused by an incompatibility with the older unit test code against OpenSSL `v3`, which was addressed on the C++ client side in hazelcast/hazelcast-cpp-client#1098

The environment obtains OpenSSL as a `gdb` dependency via `apt`, it's version is not static:
https://github.com/hazelcast/client-compatibility-suites/blob/8b735bf75002fff2b39f7fb7833c99d78352497e/.github/workflows/server_compatibility.yaml#L612
```
openssl version
OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024)
```

Fixed by disabling the SSL tests in C++ clients <5.2.

[Example execution](https://github.com/hazelcast/client-compatibility-suites/actions/runs/16047218621).

Fixes: [DI-556](https://hazelcast.atlassian.net/browse/DI-556)

[DI-556]: https://hazelcast.atlassian.net/browse/DI-556?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

4 participants