Skip to content

Commit

Permalink
Add check for AES key-size option
Browse files Browse the repository at this point in the history
  • Loading branch information
torfinnberset committed Jan 31, 2019
1 parent 8f778c3 commit 597569f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ def configure(self):
if not self.options.CBC and not self.options.ECB and not self.options.CTR:
raise ConanException("Need to at least specify one of CBC, ECB or CTR modes")

if not self.options.AES128 and not self.options.AES192 and not self.options.AES256:
raise ConanException("Need to at least specify one of AES{128, 192, 256} modes")

def build(self):
cmake = CMake(self)

Expand Down

0 comments on commit 597569f

Please sign in to comment.