tls: Move variable sized tls_record_t struct to end of tls_t data
clang complains about the the non-last variable length member.
This commit is contained in:
1 parent
6eff96f543
commit
e2bf45a491
1 file changed
+5
-5
+5
-5
@@ -171,15 +171,15 @@ struct private_tls_t {
|
||||
*/
|
||||
size_t outpos;
|
||||
|
||||
/**
|
||||
* Partial TLS record header received
|
||||
*/
|
||||
tls_record_t head;
|
||||
|
||||
/**
|
||||
* Position in partially received record header
|
||||
*/
|
||||
size_t headpos;
|
||||
|
||||
/**
|
||||
* Partial TLS record header received
|
||||
*/
|
||||
tls_record_t head;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user