Skip to content

Commit 542d0db

Browse files
authored
fix broken OSS-Fuzz build (#529)
Signed-off-by: Adam Korczynski <[email protected]>
1 parent b1fb88c commit 542d0db

6 files changed

+10
-12
lines changed

tests/fuzzing/fuzz_sign_then_mutate_verify_with_valid_key.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
import atheris # type: ignore
2323
from cryptography.hazmat.primitives import serialization
2424
from cryptography.hazmat.primitives.asymmetric import ec
25-
from fuzz_utils import any_files
26-
from fuzz_utils import create_fuzz_files
27-
from fuzz_utils import safe_write
25+
from utils import any_files
26+
from utils import create_fuzz_files
27+
from utils import safe_write
2828

2929
import model_signing
3030

tests/fuzzing/fuzz_sign_verify_with_valid_key.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
import atheris
2424
from cryptography.hazmat.primitives import serialization
2525
from cryptography.hazmat.primitives.asymmetric import ec
26-
from fuzz_utils import any_files
27-
from fuzz_utils import create_fuzz_files
26+
from utils import any_files
27+
from utils import create_fuzz_files
2828

2929
import model_signing
3030

tests/fuzzing/fuzz_sign_with_invalid_key.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
# type: ignore
2121
import atheris
2222
from cryptography.hazmat.primitives import serialization
23-
from fuzz_utils import any_files
24-
from fuzz_utils import create_fuzz_files
23+
from utils import any_files
24+
from utils import create_fuzz_files
2525

2626
import model_signing
2727

tests/fuzzing/fuzz_sign_with_valid_key_verify_with_invalid_key.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
import atheris
2424
from cryptography.hazmat.primitives import serialization
2525
from cryptography.hazmat.primitives.asymmetric import ec
26-
from fuzz_utils import any_files
27-
from fuzz_utils import create_fuzz_files
26+
from utils import any_files
27+
from utils import create_fuzz_files
2828

2929
import model_signing
3030

tests/fuzzing/fuzz_with_cert_chain.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
from __future__ import annotations
16-
1715
import datetime as dt
1816
from pathlib import Path
1917
import shutil
@@ -29,7 +27,7 @@
2927
from cryptography.hazmat.primitives.asymmetric import rsa
3028
from cryptography.x509.oid import ExtendedKeyUsageOID
3129
from cryptography.x509.oid import NameOID
32-
from fuzz_utils import create_fuzz_files
30+
from utils import create_fuzz_files
3331

3432
from model_signing import hashing
3533
from model_signing import signing
File renamed without changes.

0 commit comments

Comments
 (0)