summaryrefslogtreecommitdiffstats
path: root/challenge/c40.go
diff options
context:
space:
mode:
Diffstat (limited to 'challenge/c40.go')
-rw-r--r--challenge/c40.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/challenge/c40.go b/challenge/c40.go
index ec16059..c12b74c 100644
--- a/challenge/c40.go
+++ b/challenge/c40.go
@@ -16,7 +16,7 @@ func C40() {
// Generate 3 rsa key pairs and capture the their public keys.
var rsaPubs []*lib.RSAPub
for i := 0; i < 3; i++ {
- rsa, err := lib.RSAGenKey()
+ rsa, err := lib.RSAGenKey(2048)
if err != nil {
fmt.Printf("gen key failed: %v", err)
return