diff options
| author | Russ White <russ@riw.us> | 2022-02-15 13:19:48 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-15 13:19:48 -0500 |
| commit | c07cfc54940c2dce071f5173f0b719592419b2d2 (patch) | |
| tree | 75ec373ba25194f2ab81683106ce388ba349f3d8 /lib/keychain.c | |
| parent | 8f689a6e8d1370aa1abab79336cedcb283913069 (diff) | |
| parent | 42bfee18c2484fac611501d6fe047374250ffafc (diff) | |
Merge pull request #10571 from rameshabhinay/ospf6_auth_trailer
ospf6d: fix coverity issues.
Diffstat (limited to 'lib/keychain.c')
| -rw-r--r-- | lib/keychain.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/keychain.c b/lib/keychain.c index 6b03fbd560..c29c45a114 100644 --- a/lib/keychain.c +++ b/lib/keychain.c @@ -357,12 +357,12 @@ const struct keychain_algo_info algo_info[] = { KEYCHAIN_ALGO_MAX_INTERNAL_BLK_SIZE, "Not defined"} }; -uint32_t keychain_get_block_size(enum keychain_hash_algo key) +uint16_t keychain_get_block_size(enum keychain_hash_algo key) { return algo_info[key].block; } -uint32_t keychain_get_hash_len(enum keychain_hash_algo key) +uint16_t keychain_get_hash_len(enum keychain_hash_algo key) { return algo_info[key].length; } |
