]> Cypherpunks repositories - gostls13.git/commit
crypto/x509: rename and reposition rsaPublicKey struct declaration
authorAndrew Benton <andrewmbenton@gmail.com>
Tue, 7 Mar 2017 07:17:58 +0000 (23:17 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 7 Mar 2017 16:49:28 +0000 (16:49 +0000)
commit2a26f5809e4e80e7d8d4e20b9965efb2eefe71c5
treec301bd2a2feaa56f0b3f8313e681321bba8ea7da
parentaeac77dce6335395309ad236adb1627b389a1d86
crypto/x509: rename and reposition rsaPublicKey struct declaration

For consistency with the other named types in this package, this
change renames the unexported rsaPublicKey struct to pkcs1PublicKey
and positions the declaration up with the other similarly-named
types in pkcs1.go.

See the final comment of #19355 for discussion.

Change-Id: I1fa0366a8efa01602b81bc69287ef747abce84f5
Reviewed-on: https://go-review.googlesource.com/37885
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/crypto/x509/pkcs1.go
src/crypto/x509/x509.go