memcached: Code review feedback

This commit is contained in:
Kareem 2023-11-21 17:59:55 -07:00
parent ca61034d22
commit 72cbd9a44e
2 changed files with 2 additions and 10 deletions

View File

@ -43,9 +43,7 @@ jobs:
- name: Checkout OSP
uses: actions/checkout@v3
with:
# TODO: Change to upstream wolfssl/osp once merged
repository: kareem-wolfssl/osp
ref: memcached
repository: wolfssl/osp
path: osp
- name: Install dependencies

View File

@ -29505,13 +29505,7 @@ int wolfSSL_SSL_in_connect_init(WOLFSSL* ssl)
if (ssl == NULL)
return WOLFSSL_FAILURE;
if (ssl->options.side == WOLFSSL_CLIENT_END) {
return ssl->options.connectState > CONNECT_BEGIN &&
ssl->options.connectState < SECOND_REPLY_DONE;
}
return ssl->options.acceptState > ACCEPT_BEGIN &&
ssl->options.acceptState < ACCEPT_THIRD_REPLY_DONE;
return ssl->options.handShakeState == NULL_STATE;
}
#ifndef NO_SESSION_CACHE