diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2011-11-29 23:02:54 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2011-11-29 23:02:54 +0000 |
commit | b740cb6335fd36e5847f2abd3c890b7f14d1ef30 (patch) | |
tree | 3cbc69464b9e65b6abf2f6adbda2845f1577b756 /libgo/go/crypto/x509/x509.go | |
parent | cebc182b78fd3be5396fb772f3b12a9096fc73ab (diff) | |
download | gcc-b740cb6335fd36e5847f2abd3c890b7f14d1ef30.zip gcc-b740cb6335fd36e5847f2abd3c890b7f14d1ef30.tar.gz gcc-b740cb6335fd36e5847f2abd3c890b7f14d1ef30.tar.bz2 |
libgo: update to weekly.2011-10-25
Changes were mainly straightforward to merge.
From-SVN: r181824
Diffstat (limited to 'libgo/go/crypto/x509/x509.go')
-rw-r--r-- | libgo/go/crypto/x509/x509.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/go/crypto/x509/x509.go b/libgo/go/crypto/x509/x509.go index 4b8ecc5..73b32e7 100644 --- a/libgo/go/crypto/x509/x509.go +++ b/libgo/go/crypto/x509/x509.go @@ -928,11 +928,11 @@ func CreateCertificate(rand io.Reader, template, parent *Certificate, pub *rsa.P return } - asn1Issuer, err := asn1.Marshal(parent.Issuer.ToRDNSequence()) + asn1Issuer, err := asn1.Marshal(parent.Subject.ToRDNSequence()) if err != nil { return } - asn1Subject, err := asn1.Marshal(parent.Subject.ToRDNSequence()) + asn1Subject, err := asn1.Marshal(template.Subject.ToRDNSequence()) if err != nil { return } |