Implement server side of PSK extension construction
[openssl.git] / ssl / statem / extensions.c
index 95bfe7539316059daac8f717cfb1ee3e1ea8249e..c9e7d30eaae150454dbe15a77938e91b20551ba9 100644 (file)
@@ -279,7 +279,7 @@ static const EXTENSION_DEFINITION ext_defs[] = {
         TLSEXT_TYPE_psk,
         EXT_CLIENT_HELLO | EXT_TLS1_3_SERVER_HELLO | EXT_TLS_IMPLEMENTATION_ONLY
         | EXT_TLS1_3_ONLY,
-        NULL, tls_parse_ctos_psk, tls_parse_stoc_psk, NULL,
+        NULL, tls_parse_ctos_psk, tls_parse_stoc_psk, tls_construct_stoc_psk,
         tls_construct_ctos_psk, NULL
     }
 };