forked from TrueCloudLab/certificates
Added error check after GenerateDefaultKeyPair
This commit is contained in:
parent
2479371c06
commit
0c21f0ae9e
1 changed files with 4 additions and 3 deletions
|
@ -372,6 +372,7 @@ ZYtQ9Ot36qc=
|
||||||
|
|
||||||
func TestAuthority_RenewOrRekey(t *testing.T) {
|
func TestAuthority_RenewOrRekey(t *testing.T) {
|
||||||
pub, _, err := keys.GenerateDefaultKeyPair()
|
pub, _, err := keys.GenerateDefaultKeyPair()
|
||||||
|
assert.FatalError(t, err)
|
||||||
pub1, _, err := keys.GenerateDefaultKeyPair()
|
pub1, _, err := keys.GenerateDefaultKeyPair()
|
||||||
assert.FatalError(t, err)
|
assert.FatalError(t, err)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue