memcached: Code review feedback
This commit is contained in:
parent
ca61034d22
commit
72cbd9a44e
4
.github/workflows/memcached.yml
vendored
4
.github/workflows/memcached.yml
vendored
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user