projects
/
haproxy-3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b33fe2f
)
MINOR: ssl: Reorder struct certificate_ocsp members
author
Remi Tricot-Le Breton
<rlebreton@haproxy.com>
Tue, 28 Feb 2023 16:46:26 +0000
(17:46 +0100)
committer
William 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
patch
|
blob
|
history
diff --git
a/include/haproxy/ssl_ocsp-t.h
b/include/haproxy/ssl_ocsp-t.h
index
599d68a
..
4448431
100644
(file)
--- 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;