mirror of
https://github.com/cesanta/mongoose.git
synced 2024-11-28 05:19:08 +08:00
Keep the size of the structure the same in non-SSL build
PUBLISHED_FROM=8f93bee72bc18efff64354203ee6268f4f8e8768
This commit is contained in:
parent
f00b3a2b3a
commit
7153690016
@ -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
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user