Merge pull request #1813 from ejohnstown/bitfield

Bitfield Fixes
This commit is contained in:
David Garske
2018-09-06 16:01:59 -07:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@ -154,7 +154,7 @@ typedef struct EncryptedInfo {
char name[NAME_SZ]; /* cipher name, such as "DES-CBC" */ char name[NAME_SZ]; /* cipher name, such as "DES-CBC" */
byte iv[IV_SZ]; /* salt or encrypted IV */ byte iv[IV_SZ]; /* salt or encrypted IV */
int set:1; /* if encryption set */ word16 set:1; /* if encryption set */
} EncryptedInfo; } EncryptedInfo;

View File

@ -77,7 +77,7 @@ struct ed25519_key {
byte pointX[ED25519_KEY_SIZE]; /* recovered X coordinate */ byte pointX[ED25519_KEY_SIZE]; /* recovered X coordinate */
byte pointY[ED25519_KEY_SIZE]; /* Y coordinate is the public key with The most significant bit of the final octet always zero. */ byte pointY[ED25519_KEY_SIZE]; /* Y coordinate is the public key with The most significant bit of the final octet always zero. */
#endif #endif
int pubKeySet:1; word16 pubKeySet:1;
#ifdef WOLFSSL_ASYNC_CRYPT #ifdef WOLFSSL_ASYNC_CRYPT
WC_ASYNC_DEV asyncDev; WC_ASYNC_DEV asyncDev;
#endif #endif