OpenSSL has the following defined in thl1.h. They are used in
s_server.c for the SNI callback.

  #define SSL_TLSEXT_ERR_OK 0
  #define SSL_TLSEXT_ERR_ALERT_WARNING 1
  #define SSL_TLSEXT_ERR_ALERT_FATAL 2
  #define SSL_TLSEXT_ERR_NOACK 3

SSL_TLSEXT_ERR_OK 0 is self explanatory. It appears
SSL_TLSEXT_ERR_NOACK is returned in the callback when the SNI
extension was not present in the arguments passed to the callback. But
I don't know about the other two return codes.

What are the meanings of the return codes, and how does the library
react to them?
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to