diff options
Diffstat (limited to 'src/core/security/jwt_verifier.c')
-rw-r--r-- | src/core/security/jwt_verifier.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/security/jwt_verifier.c b/src/core/security/jwt_verifier.c index 9de8482025..eca903d930 100644 --- a/src/core/security/jwt_verifier.c +++ b/src/core/security/jwt_verifier.c @@ -38,6 +38,7 @@ #include "src/core/httpcli/httpcli.h" #include "src/core/security/base64.h" +#include "src/core/tsi/ssl_types.h" #include <grpc/support/alloc.h> #include <grpc/support/log.h> @@ -443,7 +444,7 @@ static BIGNUM *bignum_from_base64(const char *b64) { return NULL; } result = - BN_bin2bn(GPR_SLICE_START_PTR(bin), (int)GPR_SLICE_LENGTH(bin), NULL); + BN_bin2bn(GPR_SLICE_START_PTR(bin), TSI_SIZE_AS_SIZE(GPR_SLICE_LENGTH(bin)), NULL); gpr_slice_unref(bin); return result; } |