QUIC TSERVER: Fix erroneously static variable
authorHugo Landau <hlandau@openssl.org>
Mon, 27 Nov 2023 07:57:32 +0000 (07:57 +0000)
committerHugo Landau <hlandau@openssl.org>
Mon, 27 Nov 2023 07:57:32 +0000 (07:57 +0000)
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/22828)

ssl/quic/quic_tserver.c

index 3fc51b4a778aa1202a58a44106b60f73888e3bd7..130733821cf3d9c37d655049a98c2d7be2052a3f 100644 (file)
@@ -53,7 +53,7 @@ static int alpn_select_cb(SSL *ssl, const unsigned char **out,
     static const unsigned char alpndeflt[] = {
         8, 'o', 's', 's', 'l', 't', 'e', 's', 't'
     };
-    static const unsigned char *alpn;
+    const unsigned char *alpn;
     size_t alpnlen;
 
     if (srv->args.alpn == NULL) {