summaryrefslogtreecommitdiff
path: root/src/pkg/crypto/x509/pkcs1.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/crypto/x509/pkcs1.go')
-rw-r--r--src/pkg/crypto/x509/pkcs1.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/crypto/x509/pkcs1.go b/src/pkg/crypto/x509/pkcs1.go
index 3aaa8c583..873d3966e 100644
--- a/src/pkg/crypto/x509/pkcs1.go
+++ b/src/pkg/crypto/x509/pkcs1.go
@@ -24,7 +24,7 @@ type pkcs1PrivateKey struct {
Dq *big.Int `asn1:"optional"`
Qinv *big.Int `asn1:"optional"`
- AdditionalPrimes []pkcs1AdditionalRSAPrime `asn1:"optional"`
+ AdditionalPrimes []pkcs1AdditionalRSAPrime `asn1:"optional,omitempty"`
}
type pkcs1AdditionalRSAPrime struct {