mirror of
https://github.com/adulau/ssldump.git
synced 2024-12-04 23:37:12 +00:00
Compare commits
1 commit
d1180e396d
...
56b61030ab
Author | SHA1 | Date | |
---|---|---|---|
|
56b61030ab |
3 changed files with 3 additions and 6 deletions
4
.github/workflows/scorecard.yml
vendored
4
.github/workflows/scorecard.yml
vendored
|
@ -37,7 +37,7 @@ jobs:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
- name: "Run analysis"
|
- name: "Run analysis"
|
||||||
uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0
|
uses: ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534 # v2.3.3
|
||||||
with:
|
with:
|
||||||
results_file: results.sarif
|
results_file: results.sarif
|
||||||
results_format: sarif
|
results_format: sarif
|
||||||
|
@ -59,7 +59,7 @@ jobs:
|
||||||
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
|
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
|
||||||
# format to the repository Actions tab.
|
# format to the repository Actions tab.
|
||||||
- name: "Upload artifact"
|
- name: "Upload artifact"
|
||||||
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
|
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
|
||||||
with:
|
with:
|
||||||
name: SARIF file
|
name: SARIF file
|
||||||
path: results.sarif
|
path: results.sarif
|
||||||
|
|
|
@ -244,7 +244,7 @@ static int decode_HandshakeType_ClientHello(ssl_obj *ssl,
|
||||||
SSL_DECODE_UINT16(ssl, "extensions len", 0, data, &exlen);
|
SSL_DECODE_UINT16(ssl, "extensions len", 0, data, &exlen);
|
||||||
if(exlen) {
|
if(exlen) {
|
||||||
explain(ssl, "extensions\n");
|
explain(ssl, "extensions\n");
|
||||||
while(data->len > 0) {
|
while(data->len) {
|
||||||
SSL_DECODE_UINT16(ssl, "extension type", 0, data, &ex);
|
SSL_DECODE_UINT16(ssl, "extension type", 0, data, &ex);
|
||||||
if(!ja3_ex_str)
|
if(!ja3_ex_str)
|
||||||
ja3_ex_str = calloc(7, 1);
|
ja3_ex_str = calloc(7, 1);
|
||||||
|
@ -1714,7 +1714,6 @@ decoder extension_decoder[] = {
|
||||||
{55, "external_id_hash", decode_extension},
|
{55, "external_id_hash", decode_extension},
|
||||||
{56, "external_session_id", decode_extension},
|
{56, "external_session_id", decode_extension},
|
||||||
{13172, "next_protocol_negotiation", decode_extension},
|
{13172, "next_protocol_negotiation", decode_extension},
|
||||||
{0xfe0d, "encrypted_client_hello", decode_extension},
|
|
||||||
{0xff01, "renegotiation_info", decode_extension},
|
{0xff01, "renegotiation_info", decode_extension},
|
||||||
{-1}};
|
{-1}};
|
||||||
|
|
||||||
|
|
|
@ -555,7 +555,6 @@ int ssl_restore_session(ssl_obj *ssl, ssl_decoder *d) {
|
||||||
case TLSV1_VERSION:
|
case TLSV1_VERSION:
|
||||||
case TLSV11_VERSION:
|
case TLSV11_VERSION:
|
||||||
case TLSV12_VERSION:
|
case TLSV12_VERSION:
|
||||||
case TLSV13_VERSION:
|
|
||||||
if((r = ssl_generate_keying_material(ssl, d)))
|
if((r = ssl_generate_keying_material(ssl, d)))
|
||||||
ABORT(r);
|
ABORT(r);
|
||||||
break;
|
break;
|
||||||
|
@ -659,7 +658,6 @@ int ssl_process_client_key_exchange(ssl_obj *ssl,
|
||||||
case TLSV1_VERSION:
|
case TLSV1_VERSION:
|
||||||
case TLSV11_VERSION:
|
case TLSV11_VERSION:
|
||||||
case TLSV12_VERSION:
|
case TLSV12_VERSION:
|
||||||
case TLSV13_VERSION:
|
|
||||||
if((r = ssl_generate_keying_material(ssl, d)))
|
if((r = ssl_generate_keying_material(ssl, d)))
|
||||||
ABORT(r);
|
ABORT(r);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue