-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: add support for new style Dafny test vectors #817
Conversation
return MakeDecryptJson(test, ciphertext_result, dir); | ||
} | ||
|
||
static json RunEncryptTestK( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very similar to RunEncryptTest(), can we just pass one extra parameter (keyring) and handle it inside the function to reduce code duplication?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand, that's exactly what I did.
There is no code duplication. If I have a keyring, I call RunEncryptTestK which creates a cmm, and calls RunEncryptTest.
Which of the two lines of RunEncryptTestK feel like duplication?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All is good, Thanks!
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Check any applicable: