diff options
author | siddharth ravikumar <s@ricketyspace.net> | 2022-11-25 13:03:23 -0500 |
---|---|---|
committer | siddharth ravikumar <s@ricketyspace.net> | 2022-11-25 13:03:23 -0500 |
commit | 94919c9b1c6b1aff4e0a0aa14db987031bac5530 (patch) | |
tree | a09b9a55c4a090712396243570f50094857c27ef | |
parent | 8530733db8df0726007a1a2730b820c2e05fdcbb (diff) |
challenge: update `C39`
Immediately return when rsa key generation fails.
-rw-r--r-- | challenge/c39.go | 1 |
1 files changed, 1 insertions, 0 deletions
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") |