From 07b7c15bcec8d35736d9235b1fda13559057bd90 Mon Sep 17 00:00:00 2001 From: Remi Tricot-Le Breton Date: Tue, 28 Feb 2023 17:46:26 +0100 Subject: [PATCH] MINOR: ssl: Reorder struct certificate_ocsp members Just swapping those two 'refcount' and 'response' members enables to fill two 4 bytes holes in the structure. --- include/haproxy/ssl_ocsp-t.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/haproxy/ssl_ocsp-t.h b/include/haproxy/ssl_ocsp-t.h index 599d68afd..44484319f 100644 --- a/include/haproxy/ssl_ocsp-t.h +++ b/include/haproxy/ssl_ocsp-t.h @@ -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;