Skip to content

Commit 5059498

Browse files
authored
Merge pull request #123 from oracle/cel-fixes
Clean up unused code
2 parents 9b1a0c8 + 9d90ef0 commit 5059498

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/tlshd/netlink.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,6 @@ static const struct tlshd_handshake_parms tlshd_default_handshake_parms = {
375375
.x509_privkey = TLS_NO_PRIVKEY,
376376
.peerids = NULL,
377377
.remote_peerids = NULL,
378-
.msg_status = 0,
379378
.session_status = EIO,
380379
};
381380

@@ -451,7 +450,7 @@ int tlshd_genl_get_handshake_parms(struct tlshd_handshake_parms *parms)
451450
goto out_msgfree;
452451
}
453452

454-
ret = parms->msg_status;
453+
ret = 0;
455454

456455
out_msgfree:
457456
nlmsg_free(msg);

src/tlshd/tlshd.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ struct tlshd_handshake_parms {
4040
key_serial_t x509_privkey;
4141
GArray *peerids;
4242
GArray *remote_peerids;
43-
int msg_status;
4443

4544
unsigned int session_status;
4645
};
@@ -162,7 +161,6 @@ extern void tlshd_quic_conn_destroy(struct tlshd_quic_conn *conn);
162161
extern void tlshd_quic_start_handshake(struct tlshd_quic_conn *conn);
163162
#endif
164163

165-
#define TLS_DEFAULT_PRIORITIES (NULL)
166164
#define TLS_DEFAULT_PSK_TYPE "psk"
167165
#define TLS_NO_PEERID (0)
168166
#define TLS_NO_CERT (0)

0 commit comments

Comments
 (0)