diff options
| author | David M. Syzdek <david@syzdek.net> | 2023-01-11 10:40:05 -0900 |
|---|---|---|
| committer | David M. Syzdek <david@syzdek.net> | 2023-01-11 10:40:05 -0900 |
| commit | d7284d78b77f5b7ed664afbbba732625cfc843ca (patch) | |
| tree | cd4250165057f6e4eab26240f81f8af911aa8b71 | |
| parent | 448f9c4cf5a971de93bf01b14d7d162d1c3589aa (diff) | |
| download | otputils-d7284d78b77f5b7ed664afbbba732625cfc843ca.tar.gz otputils-d7284d78b77f5b7ed664afbbba732625cfc843ca.tar.bz2 otputils-d7284d78b77f5b7ed664afbbba732625cfc843ca.tar.xz otputils-d7284d78b77f5b7ed664afbbba732625cfc843ca.zip | |
libotputil: fixing mappings in otputil_md_list[]
| -rw-r--r-- | lib/libotputil/lmisc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libotputil/lmisc.c b/lib/libotputil/lmisc.c index d088125..bbaa2fa 100644 --- a/lib/libotputil/lmisc.c +++ b/lib/libotputil/lmisc.c | |||
| @@ -63,8 +63,8 @@ static const otputil_map_t otputil_md_list[] = | |||
| 63 | { .map_name = "sha1", .map_id = OTPUTIL_MD_SHA1 }, | 63 | { .map_name = "sha1", .map_id = OTPUTIL_MD_SHA1 }, |
| 64 | { .map_name = "sha256", .map_id = OTPUTIL_MD_SHA256 }, | 64 | { .map_name = "sha256", .map_id = OTPUTIL_MD_SHA256 }, |
| 65 | { .map_name = "sha512", .map_id = OTPUTIL_MD_SHA512 }, | 65 | { .map_name = "sha512", .map_id = OTPUTIL_MD_SHA512 }, |
| 66 | { .map_name = "sha3-256", .map_id = OTPUTIL_MD_SHA256 }, | 66 | { .map_name = "sha3-256", .map_id = OTPUTIL_MD_SHA3_256 }, |
| 67 | { .map_name = "sha3-512", .map_id = OTPUTIL_MD_SHA512 }, | 67 | { .map_name = "sha3-512", .map_id = OTPUTIL_MD_SHA3_512 }, |
| 68 | { .map_name = NULL, .map_id = 0 }, | 68 | { .map_name = NULL, .map_id = 0 }, |
| 69 | }; | 69 | }; |
| 70 | 70 | ||
