mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-22 11:36:21 +00:00
Keep the size of the structure the same in non-SSL build
PUBLISHED_FROM=8f93bee72bc18efff64354203ee6268f4f8e8768
This commit is contained in:
1 parent
f00b3a2b3a
commit
7153690016
3 files changed
+6
No files matched your search
@@ -61,6 +61,8 @@ signature: |
|
||||
|
||||
#if MG_ENABLE_SSL
|
||||
void *ssl_if_data; /* SSL library data. */
|
||||
#else
|
||||
void *unused_ssl_if_data; /* To keep the size of the structure the same. */
|
||||
#endif
|
||||
};
|
||||
---
|
||||
|
||||
@@ -3635,6 +3635,8 @@ struct mg_connection {
|
||||
|
||||
#if MG_ENABLE_SSL
|
||||
void *ssl_if_data; /* SSL library data. */
|
||||
#else
|
||||
void *unused_ssl_if_data; /* To keep the size of the structure the same. */
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
@@ -155,6 +155,8 @@ struct mg_connection {
|
||||
|
||||
#if MG_ENABLE_SSL
|
||||
void *ssl_if_data; /* SSL library data. */
|
||||
#else
|
||||
void *unused_ssl_if_data; /* To keep the size of the structure the same. */
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user