]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
urldata: move a struct field in ssl_primary_config
authorDaniel Stenberg <daniel@haxx.se>
Mon, 19 May 2025 12:36:57 +0000 (14:36 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 19 May 2025 13:14:23 +0000 (15:14 +0200)
... which makes the struct eight bytes smaller with no gaps.

Closes #17386

lib/urldata.h

index 912abdada2bb8dff1989819914af8bcca273258e..9cba2c25b19bb2194a632e965335835fedc7a529 100644 (file)
@@ -275,8 +275,8 @@ struct ssl_primary_config {
   char *password; /* TLS password (for, e.g., SRP) */
 #endif
   char *curves;          /* list of curves to use */
-  unsigned char ssl_options;  /* the CURLOPT_SSL_OPTIONS bitmask */
   unsigned int version_max; /* max supported version the client wants to use */
+  unsigned char ssl_options;  /* the CURLOPT_SSL_OPTIONS bitmask */
   unsigned char version;    /* what version the client wants to use */
   BIT(verifypeer);       /* set TRUE if this is desired */
   BIT(verifyhost);       /* set TRUE if CN/SAN must match hostname */