-
Notifications
You must be signed in to change notification settings - Fork 837
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apache httpd w/TLS 1.3 support #3421
Conversation
…ndshake` for the server-side to support rehandshake. Required for Apache v2.4.39 with TLS v1.3.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rest is fine.
} | ||
#endif | ||
#ifndef NO_WOLFSSL_CLIENT | ||
if (ssl->options.side == WOLFSSL_CLIENT_END) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OpenSSL returns an error when client side.
@@ -10357,6 +10357,30 @@ void wolfSSL_set_verify_result(WOLFSSL *ssl, long v) | |||
#endif | |||
} | |||
|
|||
/* For TLS v1.3 perform rehandshake. Returns 1=WOLFSSL_SUCCESS or 0=WOLFSSL_FAILURE */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a rehandshake - sending handshake messages after handshake complete.
#endif | ||
#ifndef NO_WOLFSSL_CLIENT | ||
if (ssl->options.side == WOLFSSL_CLIENT_END) { | ||
ret = wolfSSL_allow_post_handshake_auth(ssl); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like SSL_[CTX_]set_post_handshake_auth() enables/disables.
…th` and `SSL_set_post_handshake_auth` API's for enabling or disabling post handshake authentication for TLS v1.3.
return (ret == 0) ? WOLFSSL_SUCCESS : WOLFSSL_FAILURE; | ||
} | ||
|
||
void wolfSSL_CTX_set_post_handshake_auth(WOLFSSL_CTX* ctx, int val) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the return type should be int for this guy and wolfSSL_set_post_handshake_auth.
…nd do a return code.
SSL_verify_client_post_handshake
for the server-side to support rehandshake (Required for Apache v2.4.39 with TLS v1.3)SSL_CTX_set_post_handshake_auth
andSSL_set_post_handshake_auth
API's for enabling or disabling post handshake authentication for TLS v1.3OPENSSL_init_crypto
andOPENSSL_init_ssl
API's.