diff --git a/jwt_full.nimble b/jwt_full.nimble index ef161bc..b17239c 100644 --- a/jwt_full.nimble +++ b/jwt_full.nimble @@ -1,6 +1,6 @@ # Package -version = "0.3.0" +version = "0.4.0" author = "Jonathan Bernard" description = "Full JWT, JWS, JWE, and JWK implementation for Nim, compliant with RFCs 7515-7519." license = "GPL-3.0-or-later" diff --git a/src/main/jwt_full/private/crypto/pem.nim b/src/main/jwt_full/private/crypto/pem.nim index da6f42d..13b0ff4 100644 --- a/src/main/jwt_full/private/crypto/pem.nim +++ b/src/main/jwt_full/private/crypto/pem.nim @@ -3,7 +3,7 @@ import bearssl # Taken from nim-bearssl/decls.nim {.pragma: bearSslFunc, cdecl, gcsafe, noSideEffect, raises: [].} -type BearPemDecoderCallback* = proc(destCtx: pointer, src: pointer, dataLen: uint) {.bearSslFunc.} +type BearPemDecoderCallback* = proc(destCtx: pointer, src: pointer, dataLen: csize_t) {.bearSslFunc.} proc decodePem*( pem: string,