diff options
| author | David M. Syzdek <david@syzdek.net> | 2023-01-11 16:05:55 -0900 |
|---|---|---|
| committer | David M. Syzdek <david@syzdek.net> | 2023-01-11 16:06:27 -0900 |
| commit | 98bcaf0aeebbb68d51c4321c804d2092f0905487 (patch) | |
| tree | 50e76f5fd3107e04d2383443816d5949e177b3d5 /tests | |
| parent | 2a8a9f3e12968ab262cff5ac363daa9cb2822572 (diff) | |
| download | otputils-98bcaf0aeebbb68d51c4321c804d2092f0905487.tar.gz otputils-98bcaf0aeebbb68d51c4321c804d2092f0905487.tar.bz2 otputils-98bcaf0aeebbb68d51c4321c804d2092f0905487.tar.xz otputils-98bcaf0aeebbb68d51c4321c804d2092f0905487.zip | |
libotputil: adding support for six-word encoding in otputil_otp_decode()
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test-otp-decode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-otp-decode.c b/tests/test-otp-decode.c index 555cf5d..5567473 100644 --- a/tests/test-otp-decode.c +++ b/tests/test-otp-decode.c | |||
| @@ -216,7 +216,7 @@ main( | |||
| 216 | }; | 216 | }; |
| 217 | 217 | ||
| 218 | // test HEX decoding | 218 | // test HEX decoding |
| 219 | if ((bv = otputil_otp_decode(rec->hex, NULL)) == NULL) | 219 | if ((bv = otputil_otp_decode(rec->hex, NULL, 0)) == NULL) |
| 220 | { | 220 | { |
| 221 | printf("%s: unable to decode\n", rec->hex); | 221 | printf("%s: unable to decode\n", rec->hex); |
| 222 | if (!(ignore_errors)) | 222 | if (!(ignore_errors)) |
