mirror of
https://github.com/gregtwallace/apc-p15-tool.git
synced 2025-07-22 22:52:57 +00:00
pkcs15: minor lint
This commit is contained in:
parent
4a3f79ec07
commit
7319fc16d8
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ const (
|
||||||
// params expected in the APC file.
|
// params expected in the APC file.
|
||||||
func (p15 *pkcs15KeyCert) computeEncryptedKeyEnvelope() error {
|
func (p15 *pkcs15KeyCert) computeEncryptedKeyEnvelope() error {
|
||||||
// if computation already performed, this is a no-op (keep existing envelope)
|
// if computation already performed, this is a no-op (keep existing envelope)
|
||||||
if p15.envelopedPrivateKey != nil && len(p15.envelopedPrivateKey) != 0 {
|
if len(p15.envelopedPrivateKey) > 0 {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue