Skip to content

Commit

Permalink
chore: ssl: sync from upstream
Browse files Browse the repository at this point in the history
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
  • Loading branch information
zhaojh329 committed Sep 18, 2021
1 parent bcfeee7 commit 2f3bdf1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/connection.c
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,7 @@ static int ssl_negotiated(struct uh_connection_internal *conn)
char err_buf[128];
int ret;

ret = ssl_connect(conn->ssl, true, on_ssl_verify_error, NULL);
ret = ssl_accept(conn->ssl, on_ssl_verify_error, NULL);
if (ret == SSL_PENDING)
return 0;

Expand Down
2 changes: 1 addition & 1 deletion src/ssl
Submodule ssl updated 5 files
+1 −1 example-client.c
+1 −1 example-server.c
+11 −1 mbedtls.c
+12 −2 openssl.c
+2 −2 ssl.h

0 comments on commit 2f3bdf1

Please sign in to comment.