Author | Jamozed <[email protected]> |
Date | 2021-02-21 01:04:05 |
Commit | 61dd41733b4e1cb0e12478ee39345e5027a04790 |
Parent | 4bec0a5c8c0fa82d537cd5f19392bdf1077efd06 |
base32: Fix incorrect variable in length macro
Diffstat
M | src/base32.h | | | 2 | +- |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base32.h b/src/base32.h index ddb22dc..3cc2f08 100644 --- a/src/base32.h +++ b/src/base32.h @@ -37,7 +37,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. #include <stdlib.h> #define B32ELEN(x) (((x + 4) / 5) * 8) -#define B32DLEN(x) (((A + 7) / 8) * 5) +#define B32DLEN(x) (((x + 7) / 8) * 5) extern size_t b32encode(uint8_t *dst, uint8_t *src, size_t len); extern size_t b32decode(uint8_t *dst, uint8_t *src, size_t len);