forked from wolfSSL/wolfssl
adjust onHeap to be a bit field
This commit is contained in:
@@ -2569,9 +2569,6 @@ struct WOLFSSL_CTX {
|
|||||||
#endif
|
#endif
|
||||||
Suites* suites; /* make dynamic, user may not need/set */
|
Suites* suites; /* make dynamic, user may not need/set */
|
||||||
void* heap; /* for user memory overrides */
|
void* heap; /* for user memory overrides */
|
||||||
#ifdef WOLFSSL_STATIC_MEMORY
|
|
||||||
byte onHeap; /* whether the ctx/method is put on heap hint */
|
|
||||||
#endif
|
|
||||||
byte verifyDepth;
|
byte verifyDepth;
|
||||||
byte verifyPeer:1;
|
byte verifyPeer:1;
|
||||||
byte verifyNone:1;
|
byte verifyNone:1;
|
||||||
@@ -2614,6 +2611,9 @@ struct WOLFSSL_CTX {
|
|||||||
#ifdef HAVE_ENCRYPT_THEN_MAC
|
#ifdef HAVE_ENCRYPT_THEN_MAC
|
||||||
byte disallowEncThenMac:1; /* Don't do Encrypt-Then-MAC */
|
byte disallowEncThenMac:1; /* Don't do Encrypt-Then-MAC */
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef WOLFSSL_STATIC_MEMORY
|
||||||
|
byte onHeap:1; /* whether the ctx/method is put on heap hint */
|
||||||
|
#endif
|
||||||
#ifdef WOLFSSL_MULTICAST
|
#ifdef WOLFSSL_MULTICAST
|
||||||
byte haveMcast; /* multicast requested */
|
byte haveMcast; /* multicast requested */
|
||||||
byte mcastID; /* multicast group ID */
|
byte mcastID; /* multicast group ID */
|
||||||
|
Reference in New Issue
Block a user