diff options
Diffstat (limited to 'lib/rsa_test.go')
| -rw-r--r-- | lib/rsa_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rsa_test.go b/lib/rsa_test.go index d26ee2c..810d7cc 100644 --- a/lib/rsa_test.go +++ b/lib/rsa_test.go @@ -59,7 +59,7 @@ func TestInvMod(t *testing.T) { } func TestRSAGenKey(t *testing.T) { - pair, err := RSAGenKey() + pair, err := RSAGenKey(2048) if err != nil { t.Errorf("genkey: %v", err) return @@ -95,7 +95,7 @@ func TestRSAGenKey(t *testing.T) { } func TestRSAEncryptDecrypt(t *testing.T) { - pair, err := RSAGenKey() + pair, err := RSAGenKey(2048) if err != nil { t.Errorf("genkey: %v", err) return |
