mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-29 19:42:12 +01:00
Merge pull request #2120 from dgarske/nightly_fixes
Fixes for various nightly build configuration warnings
This commit is contained in:
@@ -733,7 +733,7 @@ size_t wolfSSL_BIO_ctrl_pending(WOLFSSL_BIO *bio)
|
||||
if (bio->type == WOLFSSL_BIO_BIO && bio->pair != NULL) {
|
||||
WOLFSSL_BIO* pair = bio->pair;
|
||||
if (pair->wrIdx > 0 && pair->wrIdx <= pair->rdIdx) {
|
||||
/* in wrap around state where begining of buffer is being
|
||||
/* in wrap around state where beginning of buffer is being
|
||||
* overwritten */
|
||||
return pair->wrSz - pair->rdIdx + pair->wrIdx;
|
||||
}
|
||||
@@ -1136,7 +1136,7 @@ int wolfSSL_BIO_seek(WOLFSSL_BIO *bio, int ofs)
|
||||
return -1;
|
||||
}
|
||||
|
||||
/* offset ofs from begining of file */
|
||||
/* offset ofs from beginning of file */
|
||||
if (bio->type == WOLFSSL_BIO_FILE &&
|
||||
XFSEEK(bio->file, ofs, SEEK_SET) < 0) {
|
||||
return -1;
|
||||
|
||||
@@ -19993,7 +19993,7 @@ int SendClientKeyExchange(WOLFSSL* ssl)
|
||||
/* length is used for public key size */
|
||||
args->length = MAX_ENCRYPT_SZ;
|
||||
|
||||
/* Create shared ECC key leaving room at the begining
|
||||
/* Create shared ECC key leaving room at the beginning
|
||||
of buffer for size of shared key. */
|
||||
ssl->arrays->preMasterSz = ENCRYPT_LEN - OPAQUE16_LEN;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user