mirror of
https://github.com/vacp2p/bearssl_pkey_decoder.git
synced 2026-08-27 19:31:08 +00:00
Fix clang 15 compilation error
This commit is contained in:
@@ -37,11 +37,11 @@ proc pkeyDecoderInit*(
|
||||
) {.bearSslFunc, importc: "br_pkey_decoder_init".}
|
||||
|
||||
proc pkeyDecoderPush*(
|
||||
ctx: ptr PkeyDecoderContext, data: pointer, len: uint
|
||||
ctx: ptr PkeyDecoderContext, data: pointer, len: csize_t
|
||||
) {.bearSslFunc, importc: "br_pkey_decoder_push".}
|
||||
|
||||
proc skeyDecoderPushShim*(
|
||||
ctx: pointer, data: pointer, len: uint
|
||||
ctx: pointer, data: pointer, len: csize_t
|
||||
) {.cdecl, noSideEffect, gcsafe, importc.}
|
||||
|
||||
proc pkeyDecoderLastError*(ctx: ptr PkeyDecoderContext): cint =
|
||||
|
||||
@@ -9,5 +9,5 @@ license = "MIT"
|
||||
|
||||
# Dependencies
|
||||
|
||||
requires "nim >= 0.19.0"
|
||||
requires "bearssl"
|
||||
requires "nim >= 1.6.0"
|
||||
requires "bearssl >= 0.2.7"
|
||||
|
||||
Reference in New Issue
Block a user