Skip to content

Commit

Permalink
Fixed hmacSize definition (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
yglukhov committed Jan 17, 2023
1 parent a647994 commit acf9645
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bearssl/abi/bearssl_hmac.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit acf9645

Please sign in to comment.