diff options
Diffstat (limited to 'platform/linux-generic/odp_crypto_null.c')
-rw-r--r-- | platform/linux-generic/odp_crypto_null.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/platform/linux-generic/odp_crypto_null.c b/platform/linux-generic/odp_crypto_null.c index f276d4659..8eb2332a1 100644 --- a/platform/linux-generic/odp_crypto_null.c +++ b/platform/linux-generic/odp_crypto_null.c @@ -299,7 +299,6 @@ odp_crypto_operation(odp_crypto_op_param_t *param, * We cannot fail since odp_crypto_op() has already processed * the packet. Let's indicate error in the result instead. */ - packet_hdr(out_pkt)->p.flags.crypto_err = 1; packet_result.ok = false; } @@ -496,7 +495,6 @@ int crypto_int(odp_packet_t pkt_in, odp_bool_t allocated = false; odp_packet_t out_pkt = *pkt_out; odp_crypto_packet_result_t *op_result; - odp_packet_hdr_t *pkt_hdr; session = (odp_crypto_generic_session_t *)(intptr_t)param->session; @@ -546,9 +544,6 @@ int crypto_int(odp_packet_t pkt_in, op_result->auth_status.hw_err = ODP_CRYPTO_HW_ERR_NONE; op_result->ok = true; - pkt_hdr = packet_hdr(out_pkt); - pkt_hdr->p.flags.crypto_err = !op_result->ok; - /* Synchronous, simply return results */ *pkt_out = out_pkt; |