Skip to content

Commit

Permalink
cicd test
Browse files Browse the repository at this point in the history
  • Loading branch information
bitjerry committed Apr 8, 2024
1 parent 2c51ea6 commit 7bae3b5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
id: cache-openssl
uses: actions/cache@v4
with:
path: /openssl
key: openssl-all
path: ./openssl
key: openssl-cache
lookup-only: true

build-openssl:
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
uses: actions/download-artifact@v3
with:
name: openssl-dist
path: ./openssl
path: ./


# build-tarball:
Expand Down Expand Up @@ -178,6 +178,7 @@ jobs:
with:
path: ./openssl
key: openssl-cache
enableCrossOsArchive: true
# restore-keys: openssl-${{ matrix.os }}
# - name: Download openssl
# uses: actions/download-artifact@v3
Expand Down
4 changes: 4 additions & 0 deletions src/goodsync.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ int aes_encrypt_master_key(unsigned char *master_key, int master_key_len, unsign
key_out[(key_out_len)++] = (crc_value & (0x000000ff << (8 * i))) >> (8 * i);
}

for (int i = 0; i < key_out_len; ++i) {
printf("%02x ", key_out[i]);
}

if (base_encode(key_out, key_out_len, out, out_len)) {
return MASTER_KEY_BASE_ENCODE_ERROR;
}
Expand Down

0 comments on commit 7bae3b5

Please sign in to comment.