Skip to content

Commit

Permalink
Merge pull request #242 from aremily/master
Browse files Browse the repository at this point in the history
Set MacOS Runner to 11 and Fix Unknown Method Error
  • Loading branch information
sebbASF authored Sep 9, 2023
2 parents 37bed56 + f700eed commit 2fb8cd4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ jobs:
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
# ubuntu-latest uses OpenSSL 3 which breaks tests
os: [macos-latest, ubuntu-20.04, windows-latest]
# macos-latest and ubuntu-latest uses OpenSSL 3 which breaks tests
os: [macos-11, ubuntu-20.04, windows-latest]
java: [ 8, 11, 17 ]
experimental: [false]
# include:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import org.apache.commons.crypto.random.CryptoRandom;
import org.apache.commons.crypto.random.CryptoRandomFactory;
import org.apache.commons.crypto.utils.AES;
import org.apache.commons.crypto.utils.Utils;

import static org.junit.jupiter.api.Assertions.assertEquals;

Expand All @@ -39,7 +38,7 @@ public abstract class AbstractBenchmark {
0x09, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16 };
private static final byte[] IV = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08,
0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
private static final SecretKeySpec keySpec = Utils.newSecretKeySpec(KEY);
private static final SecretKeySpec keySpec = AES.newSecretKeySpec(KEY);
private static final IvParameterSpec ivSpec = new IvParameterSpec(IV);
private static final byte[] BUFFER = new byte[1000];

Expand Down

0 comments on commit 2fb8cd4

Please sign in to comment.