From 8f3494ce0f883bd3488315800cfdac8b18445ca4 Mon Sep 17 00:00:00 2001 From: Mike Holmes Date: Wed, 10 Dec 2014 12:12:12 -0500 Subject: odp_ipsec: fix odp_crypto_get_operation_compl_status arg order This fixes https://bugs.linaro.org/show_bug.cgi?id=714 Signed-off-by: Alexandru Badicioiu Signed-off-by: Mike Holmes Signed-off-by: Maxim Uvarov --- example/ipsec/odp_ipsec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/ipsec/odp_ipsec.c b/example/ipsec/odp_ipsec.c index aeeb1ba1f..538f8dc3c 100644 --- a/example/ipsec/odp_ipsec.c +++ b/example/ipsec/odp_ipsec.c @@ -772,7 +772,7 @@ pkt_disposition_e do_ipsec_in_finish(odp_packet_t pkt, /* Check crypto result */ event = odp_packet_to_buffer(pkt); - odp_crypto_get_operation_compl_status(event, &cipher_rc, &auth_rc); + odp_crypto_get_operation_compl_status(event, &auth_rc, &cipher_rc); if (!is_crypto_compl_status_ok(&cipher_rc)) return PKT_DROP; if (!is_crypto_compl_status_ok(&auth_rc)) @@ -1004,7 +1004,7 @@ pkt_disposition_e do_ipsec_out_finish(odp_packet_t pkt, /* Check crypto result */ event = odp_packet_to_buffer(pkt); - odp_crypto_get_operation_compl_status(event, &cipher_rc, &auth_rc); + odp_crypto_get_operation_compl_status(event, &auth_rc, &cipher_rc); if (!is_crypto_compl_status_ok(&cipher_rc)) return PKT_DROP; if (!is_crypto_compl_status_ok(&auth_rc)) -- cgit v1.2.3