Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
crypto: add vnet_crypto_op_init (...)
[vpp.git]
/
src
/
plugins
/
unittest
/
crypto_test.c
diff --git
a/src/plugins/unittest/crypto_test.c
b/src/plugins/unittest/crypto_test.c
index
6d57cea
..
768221b
100644
(file)
--- a/
src/plugins/unittest/crypto_test.c
+++ b/
src/plugins/unittest/crypto_test.c
@@
-62,7
+62,7
@@
test_crypto (vlib_main_t * vm, crypto_test_main_t * tm)
{
r = rv[i];
op = ops + i;
-
op->op = r->op
;
+
vnet_crypto_op_init (op, r->op)
;
op->iv = r->iv.data;
op->key = r->key.data;
op->src = r->data.data;