mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-08-07 21:53:41 +08:00
Remove warnings
This commit is contained in:
@@ -807,7 +807,11 @@ typedef struct {
|
||||
|
||||
|
||||
int tls_init(TLS_CONNECT *conn, const TLS_CTX *ctx);
|
||||
#ifdef WIN32
|
||||
int tls_set_socket(TLS_CONNECT* conn, SOCKET sock);
|
||||
#else
|
||||
int tls_set_socket(TLS_CONNECT *conn, int sock);
|
||||
#endif
|
||||
int tls_do_handshake(TLS_CONNECT *conn);
|
||||
int tls_send(TLS_CONNECT *conn, const uint8_t *in, size_t inlen, size_t *sentlen);
|
||||
int tls_recv(TLS_CONNECT *conn, uint8_t *out, size_t outlen, size_t *recvlen);
|
||||
|
||||
Reference in New Issue
Block a user