Skip to content

Commit 50a3a37

Browse files
committed
Merge branch 'master' of github.com:ColtonWilley/wolfssl into rsa_pad_crypto_cb
2 parents b7299a2 + 31ec2b0 commit 50a3a37

7 files changed

Lines changed: 1171 additions & 1159 deletions

File tree

doc/dox_comments/header_files/wolfio.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,9 +422,9 @@ void wolfSSL_SetIOReadFlags( WOLFSSL* ssl, int flags);
422422
flags parameter may include one or more of the following:
423423
#define MSG_OOB 0x1 // process out-of-band data,
424424
#define MSG_DONTROUTE 0x4 // bypass routing, use direct interface.
425-
The flag MSG_OOB is used to send ``out-of-band'' data on sockets that
425+
The flag MSG_OOB is used to send 'out-of-band' data on sockets that
426426
support this notion (e.g. SOCK_STREAM); the underlying protocol must also
427-
support ``out-of-band'' data. MSG_DONTROUTE is usually used only by
427+
support 'out-of-band' data. MSG_DONTROUTE is usually used only by
428428
diagnostic or routing programs.”
429429
430430
\return none No returns.

src/ssl.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3628,15 +3628,15 @@ static int _Rehandshake(WOLFSSL* ssl)
36283628

36293629
ssl->secure_renegotiation->cache_status = SCR_CACHE_NEEDED;
36303630

3631-
#if !defined(NO_WOLFSSL_SERVER)
3631+
#if !defined(NO_WOLFSSL_SERVER) && !defined(WOLFSSL_NO_TLS12)
36323632
if (ssl->options.side == WOLFSSL_SERVER_END) {
36333633
ret = SendHelloRequest(ssl);
36343634
if (ret != 0) {
36353635
ssl->error = ret;
36363636
return WOLFSSL_FATAL_ERROR;
36373637
}
36383638
}
3639-
#endif /* !NO_WOLFSSL_SERVER */
3639+
#endif /* !NO_WOLFSSL_SERVER && !WOLFSSL_NO_TLS12 */
36403640

36413641
ret = InitHandshakeHashes(ssl);
36423642
if (ret != 0) {

support/gen-debug-trace-error-codes.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,11 @@ BEGIN {
1919
split($0, errcode_a, "[[:space:]=,]+");
2020
2121
if ((errcode_a[1] == "MIN_CODE_E") ||
22+
(errcode_a[1] == "MAX_CODE_E") ||
23+
(errcode_a[1] == "WC_FIRST_E") ||
2224
(errcode_a[1] == "WC_LAST_E") ||
23-
(errcode_a[1] == "MAX_CODE_E"))
25+
(errcode_a[1] == "WOLFSSL_FIRST_E") ||
26+
(errcode_a[1] == "WOLFSSL_LAST_E"))
2427
{
2528
next;
2629
}

0 commit comments

Comments
 (0)