Skip to content

Commit

Permalink
Fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
h3rald committed Jan 6, 2024
1 parent 6d3ab46 commit bb3eb74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/litestorepkg/lib/jwt.nim
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ proc verifySignature*(jwt: JWT; x5c: string) =
EVP_PKEY_CTX_free(pkeyctx)
if not pubkey.isNil:
EVP_PKEY_free(pubkey)
if not x509.isNil:
if not x509.isNil and defined(X509_free):
X509_free(x509)
raise err

Expand Down

0 comments on commit bb3eb74

Please sign in to comment.