QUIC RCIDM: Fix ANSI compliance
authorHugo Landau <hlandau@openssl.org>
Tue, 19 Dec 2023 16:20:31 +0000 (16:20 +0000)
committerTomas Mraz <tomas@openssl.org>
Thu, 11 Jan 2024 10:14:18 +0000 (11:14 +0100)
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23022)

ssl/quic/quic_rcidm.c

index 05cfa054c6acdac3b615b21955e20e176f711f9c..c2fd65960975a443264d506e1108371f1e06524a 100644 (file)
@@ -110,13 +110,13 @@ static void rcidm_set_preferred_rcid(QUIC_RCIDM *rcidm,
 enum {
     RCID_STATE_PENDING,
     RCID_STATE_CUR,
-    RCID_STATE_RETIRING,
+    RCID_STATE_RETIRING
 };
 
 enum {
     RCID_TYPE_INITIAL,      /* CID is from an peer INITIAL packet     (seq 0) */
     RCID_TYPE_PREF_ADDR,    /* CID is from a preferred_address TPARAM (seq 1) */
-    RCID_TYPE_NCID,         /* CID is from a NCID frame */
+    RCID_TYPE_NCID          /* CID is from a NCID frame */
     /*
      * INITIAL_ODCID and RETRY_ODCID also conceptually exist but are tracked
      * separately.