]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: ssl: Reorder struct certificate_ocsp members
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Tue, 28 Feb 2023 16:46:26 +0000 (17:46 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Thu, 2 Mar 2023 14:37:20 +0000 (15:37 +0100)
Just swapping those two 'refcount' and 'response' members enables to
fill two 4 bytes holes in the structure.

include/haproxy/ssl_ocsp-t.h

index 599d68afd5c1f52623a060a4f674975a5c7c99f9..44484319f7ba04828853b55af479fc1dd7ef8354 100644 (file)
@@ -42,8 +42,8 @@ struct certificate_ocsp {
        struct ebmb_node key;
        unsigned char key_data[OCSP_MAX_CERTID_ASN1_LENGTH];
        unsigned int key_length;
-       struct buffer response;
        int refcount;
+       struct buffer response;
        long expire;
        X509 *issuer;
        STACK_OF(X509) *chain;