]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - ssl/tls13_enc.c
Verify that the sig algs extension has been sent for TLSv1.3
[thirdparty/openssl.git] / ssl / tls13_enc.c
index 7ee9bb8ca351c9e3cee0668ac161c2283c74ef73..449e6f9f36baff6cf8d01c7b8a3ade24fded0e2f 100644 (file)
@@ -406,3 +406,11 @@ int tls13_change_cipher_state(SSL *s, int which)
     OPENSSL_cleanse(key, sizeof(key));
     return ret;
 }
+
+int tls13_alert_code(int code)
+{
+    if (code == SSL_AD_MISSING_EXTENSION)
+        return code;
+
+    return tls1_alert_code(code);
+}