Skip to content

Commit 8d7e551

Browse files
committed
fix: code review
1 parent c319a7e commit 8d7e551

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libp2p/transports/tls/certificate.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ var
7575
ctrDrbg: mbedtls_ctr_drbg_context
7676
drbgInitialized = false
7777

78-
proc initializeDRBG() =
78+
proc initializeDRBG() {.raises: [KeyGenerationError].} =
7979
## Function to initialize entropy and DRBG context if not already initialized.
8080
if not drbgInitialized:
8181
mbedtls_entropy_init(addr entropy)

0 commit comments

Comments
 (0)