Skip to content

Commit 72cbd9a

Browse files
memcached: Code review feedback
1 parent ca61034 commit 72cbd9a

2 files changed

Lines changed: 2 additions & 10 deletions

File tree

.github/workflows/memcached.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@ jobs:
4343
- name: Checkout OSP
4444
uses: actions/checkout@v3
4545
with:
46-
# TODO: Change to upstream wolfssl/osp once merged
47-
repository: kareem-wolfssl/osp
48-
ref: memcached
46+
repository: wolfssl/osp
4947
path: osp
5048

5149
- name: Install dependencies

src/ssl.c

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29505,13 +29505,7 @@ int wolfSSL_SSL_in_connect_init(WOLFSSL* ssl)
2950529505
if (ssl == NULL)
2950629506
return WOLFSSL_FAILURE;
2950729507

29508-
if (ssl->options.side == WOLFSSL_CLIENT_END) {
29509-
return ssl->options.connectState > CONNECT_BEGIN &&
29510-
ssl->options.connectState < SECOND_REPLY_DONE;
29511-
}
29512-
29513-
return ssl->options.acceptState > ACCEPT_BEGIN &&
29514-
ssl->options.acceptState < ACCEPT_THIRD_REPLY_DONE;
29508+
return ssl->options.handShakeState == NULL_STATE;
2951529509
}
2951629510

2951729511
#ifndef NO_SESSION_CACHE

0 commit comments

Comments
 (0)