Skip to content

Commit

Permalink
fix: code review
Browse files Browse the repository at this point in the history
  • Loading branch information
richard-ramos committed Mar 3, 2025
1 parent 74a1ea8 commit 42be171
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion libp2p/transports/tls/certificate.nim
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ var
ctrDrbg: mbedtls_ctr_drbg_context
drbgInitialized = false

proc initializeDRBG() =
proc initializeDRBG() {.raises: [KeyGenerationError].} =
## Function to initialize entropy and DRBG context if not already initialized.
if not drbgInitialized:
mbedtls_entropy_init(addr entropy)
Expand Down
2 changes: 2 additions & 0 deletions tests/testnative.nim
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@ import
testrendezvous, testdiscovery, testyamux, testautonat, testautonatservice,
testautorelay, testdcutr, testhpservice, testutility, testhelpers,
testwildcardresolverservice

import transports/tls/testcertificate

0 comments on commit 42be171

Please sign in to comment.