我要评分
获取效率
正确性
完整性
易理解

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

  1. Open the sslutils.c file.
    1
    vi openssl-dynamic/src/main/c/sslutils.c
    
  2. 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
    
  3. Press Esc, type :wq!, and press Enter to save the file and exit.