Skip to content

Commit

Permalink
add const to sha256Vtable
Browse files Browse the repository at this point in the history
  • Loading branch information
diegomrsantos committed Jul 14, 2024
1 parent 9691fd6 commit 0647126
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bearssl/abi/bearssl_hash.nim
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ const
sha256SIZE* = 32


var sha256Vtable* {.importc: "br_sha256_vtable", header: "bearssl_hash.h".}: HashClass
var sha256Vtable* {.importc: "const br_sha256_vtable", header: "bearssl_hash.h".}: HashClass

type
Sha256Context* = Sha224Context
Expand Down

0 comments on commit 0647126

Please sign in to comment.