diff --git a/src/tlshd/netlink.c b/src/tlshd/netlink.c index fbbee56..e59c945 100644 --- a/src/tlshd/netlink.c +++ b/src/tlshd/netlink.c @@ -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, }; @@ -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); diff --git a/src/tlshd/tlshd.h b/src/tlshd/tlshd.h index 664de67..655d0dc 100644 --- a/src/tlshd/tlshd.h +++ b/src/tlshd/tlshd.h @@ -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; }; @@ -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)