projects
/
fwknop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
2f1768f
)
Added fko_set_spa_encryption_mode() multi-call test to fko-wrapper
author
Michael Rash
<mbr@cipherdyne.org>
Mon, 25 Feb 2013 21:50:12 +0000 (16:50 -0500)
committer
Michael Rash
<mbr@cipherdyne.org>
Mon, 25 Feb 2013 21:50:12 +0000 (16:50 -0500)
test/fko-wrapper/fko_wrapper.c
patch
|
blob
|
history
diff --git
a/test/fko-wrapper/fko_wrapper.c
b/test/fko-wrapper/fko_wrapper.c
index
67aec34
..
054d82a
100644
(file)
--- a/
test/fko-wrapper/fko_wrapper.c
+++ b/
test/fko-wrapper/fko_wrapper.c
@@
-65,6
+65,11
@@
int main(void) {
fko_set_spa_encryption_type(ctx, FKO_ENCRYPTION_RIJNDAEL));
}
+ for (i=0; i<FCN_CALLS; i++) {
+ printf("fko_set_spa_encryption_mode(FKO_ENC_MODE_CBC): %d\n",
+ fko_set_spa_encryption_mode(ctx, FKO_ENC_MODE_CBC));
+ }
+
if (ENABLE_GPG_TESTS) {
for (i=0; i<FCN_CALLS; i++) {
printf("fko_set_spa_encryption_type(FKO_ENCRYPTION_GPG): %d\n",