Fixed hmacSize definition (#44)

This commit is contained in:
Yuriy Glukhov 2023-01-17 11:49:12 +01:00 committed by GitHub
parent a647994910
commit acf9645e32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ type
proc hmacInit*(ctx: var HmacContext; kc: var HmacKeyContext; outLen: uint) {.importcFunc,
importc: "br_hmac_init", header: "bearssl_hmac.h".}
proc hmacSize*(ctx: var HmacContext): uint {.inline, importcFunc, importc: "br_hmac_size".} =
proc hmacSize*(ctx: var HmacContext): uint {.inline.} =
return ctx.outLen