From 94919c9b1c6b1aff4e0a0aa14db987031bac5530 Mon Sep 17 00:00:00 2001 From: siddharth ravikumar Date: Fri, 25 Nov 2022 13:03:23 -0500 Subject: challenge: update `C39` Immediately return when rsa key generation fails. --- challenge/c39.go | 1 + 1 file changed, 1 insertion(+) (limited to 'challenge') diff --git a/challenge/c39.go b/challenge/c39.go index e4c0bf7..6261c13 100644 --- a/challenge/c39.go +++ b/challenge/c39.go @@ -13,6 +13,7 @@ func C39() { rsa, err := lib.RSAGenKey() if err != nil { fmt.Printf("gen key failed: %v", err) + return } msg := []byte("42") -- cgit v1.2.3