Skip to content

Commit

Permalink
Merge pull request #228 from open-quantum-safe/fix-building-ntruprime
Browse files Browse the repository at this point in the history
Don't build NTRU prime if feature is not enabled
  • Loading branch information
thomwiggers authored Aug 29, 2023
2 parents af4eb7d + a20d382 commit dadb53a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ jobs:
- name: Cargo test
run: cargo test

- name: Cargo test --no-default-features
run: cargo test --no-default-features

- name: Cargo test --no-default-features --features serde,kems,sigs,std
run: cargo test --no-default-features --features serde,kems,sigs,std --manifest-path oqs/Cargo.toml

Expand Down
1 change: 1 addition & 0 deletions oqs-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ fn main() {
algorithm_feature!("KEM", "frodokem");
algorithm_feature!("KEM", "hqc");
algorithm_feature!("KEM", "kyber");
algorithm_feature!("KEM", "ntruprime");

// signature schemes
algorithm_feature!("SIG", "dilithium");
Expand Down

0 comments on commit dadb53a

Please sign in to comment.