summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>2023-02-28 17:46:26 +0100
committerWilliam Lallemand <wlallemand@haproxy.org>2023-03-02 15:37:20 +0100
commit07b7c15bcec8d35736d9235b1fda13559057bd90 (patch)
tree34004861fd7b09cb2a05173d3380cba1aa5a0c64
parentb33fe2f4a218f201bb8c0b16718a8e581ddcb3b5 (diff)
downloadhaproxy-07b7c15bcec8d35736d9235b1fda13559057bd90.tar.gz
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.
-rw-r--r--include/haproxy/ssl_ocsp-t.h2
1 files changed, 1 insertions, 1 deletions
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;