Skip to content

Commit

Permalink
Fix certutil test
Browse files Browse the repository at this point in the history
  • Loading branch information
jefferai committed Feb 23, 2018
1 parent 39e0422 commit 483da4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helper/certutil/certutil_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ func setCerts() {
Bytes: marshaledKey,
}
privECKeyPem = string(pem.EncodeToMemory(keyPEMBlock))
marshaledKey, err = x509.MarshalPKCS8PrivateKey(key)
marshaledKey, err = MarshalPKCS8PrivateKey(key)
if err != nil {
panic(err)
}
Expand Down Expand Up @@ -680,7 +680,7 @@ func setCerts() {
Bytes: marshaledKey,
}
privRSAKeyPem = string(pem.EncodeToMemory(keyPEMBlock))
marshaledKey, err = x509.MarshalPKCS8PrivateKey(key)
marshaledKey, err = MarshalPKCS8PrivateKey(key)
if err != nil {
panic(err)
}
Expand Down

0 comments on commit 483da4a

Please sign in to comment.