Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/tlshd/netlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,6 @@ static const struct tlshd_handshake_parms tlshd_default_handshake_parms = {
.x509_privkey = TLS_NO_PRIVKEY,
.peerids = NULL,
.remote_peerids = NULL,
.msg_status = 0,
.session_status = EIO,
};

Expand Down Expand Up @@ -451,7 +450,7 @@ int tlshd_genl_get_handshake_parms(struct tlshd_handshake_parms *parms)
goto out_msgfree;
}

ret = parms->msg_status;
ret = 0;

out_msgfree:
nlmsg_free(msg);
Expand Down
2 changes: 0 additions & 2 deletions src/tlshd/tlshd.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ struct tlshd_handshake_parms {
key_serial_t x509_privkey;
GArray *peerids;
GArray *remote_peerids;
int msg_status;

unsigned int session_status;
};
Expand Down Expand Up @@ -162,7 +161,6 @@ extern void tlshd_quic_conn_destroy(struct tlshd_quic_conn *conn);
extern void tlshd_quic_start_handshake(struct tlshd_quic_conn *conn);
#endif

#define TLS_DEFAULT_PRIORITIES (NULL)
#define TLS_DEFAULT_PSK_TYPE "psk"
#define TLS_NO_PEERID (0)
#define TLS_NO_CERT (0)
Expand Down