crypto: fix init dependency
Change-Id: Ie8dcd9fa0d0487b146eaa62113a5ee06bd3e7d3b Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
This commit is contained in:

committed by
Damjan Marion

parent
dc195d6845
commit
72ac548e1a
@@ -163,12 +163,13 @@ crypto_openssl_init (vlib_main_t * vm)
|
||||
time_t t;
|
||||
pid_t pid;
|
||||
|
||||
u32 eidx = vnet_crypto_register_engine (vm, "openssl", 50, "OpenSSL");
|
||||
clib_error_t *error;
|
||||
|
||||
if ((error = vlib_call_init_function (vm, vnet_crypto_init)))
|
||||
return error;
|
||||
|
||||
u32 eidx = vnet_crypto_register_engine (vm, "openssl", 50, "OpenSSL");
|
||||
|
||||
#define _(a, b) \
|
||||
vnet_crypto_register_ops_handler (vm, eidx, VNET_CRYPTO_OP_##a##_ENC, \
|
||||
openssl_ops_enc_##a); \
|
||||
|
Reference in New Issue
Block a user