TLS_ST_SR_CLNT_HELLO Not Defined During Compilation
Symptom
The TLS_ST_SR_CLNT_HELLO is not defined. As a result, a compilation error is reported. The error message is as follows:
1 | Failed to execute goal org.fusesource hawtjni:aaven-hmtjni-plugin:1.11:build (build-native-lib) on project netty-tcnative-boringssl-stat ic: build failed: org-apache.aavea.plugin.MojoExecutionException: make based build failed vith exit code: 2 |
Key Process and Cause Analysis
None
Conclusion and Solution
- Open the sslutils.c file.
1vi openssl-dynamic/src/main/c/sslutils.c - Press i to enter the insert mode and change the value of TLS_ST_SR_CLNT_HELLO to 20.
1 2
if (state == 20 //if (state == TLS_ST_SR_CLNT_HELLO
- Press Esc, type :wq!, and press Enter to save the file and exit.
Parent topic: Troubleshooting