Skip to content

Commit 28ed889

Browse files
authored
[=] fix xqc_galois_inv_table format & issue 495 (#510)
* [=] fix xqc_galois_inv_table format & issue 495 * [=] delete unsupported runs-on os version
1 parent b0f380e commit 28ed889

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
runs-on: [ubuntu-20.04, ubuntu-latest]
19+
runs-on: [ubuntu-latest]
2020

2121
steps:
2222
- name: Checkout repository
@@ -114,7 +114,7 @@ jobs:
114114

115115
strategy:
116116
matrix:
117-
runs-on: [macos-11, macos-latest]
117+
runs-on: [macos-latest]
118118

119119
steps:
120120
- name: Checkout repository

src/transport/fec_schemes/xqc_galois_calculation.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,8 @@ static const unsigned char xqc_galois_inv_table[256] = {
144144
200, 246, 249, 67, 215, 214, 16, 115, 118, 120, 153, 10, 25, 145, 20,
145145
63, 230, 240, 134, 177, 226, 241, 250, 116, 243, 180, 109, 33, 178, 106,
146146
227, 231, 181, 234, 3, 143, 211, 201, 66, 212, 232, 117, 127, 255, 126,
147-
253};
147+
253
148+
};
148149

149150
unsigned char xqc_galois_multiply(unsigned char a, unsigned char b);
150151
unsigned char xqc_galois_exp(unsigned char a, unsigned char n);

src/transport/xqc_frame.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1657,8 +1657,8 @@ xqc_process_path_response_frame(xqc_connection_t *conn, xqc_packet_in_t *packet_
16571657
path = conn->conn_initial_path;
16581658
}
16591659

1660-
xqc_log(conn->log, XQC_LOG_DEBUG, "|path:%ui|state:%d|RECV path_response_data:%s|",
1661-
path->path_id, path->path_state, path_response_data);
1660+
xqc_log(conn->log, XQC_LOG_DEBUG, "|path:%ui|state:%d|RECV path_response_data:%*s|",
1661+
path->path_id, path->path_state, XQC_PATH_CHALLENGE_DATA_LEN, path_response_data);
16621662

16631663
/*
16641664
* If the content of a PATH_RESPONSE frame does not match the content of

0 commit comments

Comments
 (0)