diff options
author | Janne Peltonen <janne.peltonen@nokia.com> | 2022-01-13 18:13:59 +0200 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2022-01-28 11:45:01 +0200 |
commit | 8d1e4861c323e2634093cd9a72d211fbfc1e4c01 (patch) | |
tree | b87790c6258fdf1616659ad3fca4ed6a0cb64d46 /example/ipsec_crypto | |
parent | dcd1376c286edd29c43773fab182f504902c52e6 (diff) |
example: ipsec_crypto: use the new session creation error names
Use the new shorter session creation error names.
Signed-off-by: Janne Peltonen <janne.peltonen@nokia.com>
Reviewed-by: Anoob Joseph <anoobj@marvell.com>
Diffstat (limited to 'example/ipsec_crypto')
-rw-r--r-- | example/ipsec_crypto/odp_ipsec_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/ipsec_crypto/odp_ipsec_cache.c b/example/ipsec_crypto/odp_ipsec_cache.c index f5646d467..e4cd5142a 100644 --- a/example/ipsec_crypto/odp_ipsec_cache.c +++ b/example/ipsec_crypto/odp_ipsec_cache.c @@ -117,7 +117,7 @@ int create_ipsec_cache_entry(sa_db_entry_t *cipher_sa, /* Synchronous session create for now */ if (odp_crypto_session_create(¶ms, &session, &ses_create_rc)) return -1; - if (ODP_CRYPTO_SES_CREATE_ERR_NONE != ses_create_rc) + if (ODP_CRYPTO_SES_ERR_NONE != ses_create_rc) return -1; /* Copy remainder */ |