diff --git a/openpgp/packet/public_key.go b/openpgp/packet/public_key.go index 1a0c21a..c3fb188 100644 --- a/openpgp/packet/public_key.go +++ b/openpgp/packet/public_key.go @@ -193,7 +193,7 @@ func NewRSAPublicKey(creationTime time.Time, pub *rsa.PublicKey) *PublicKey { return pk } -// NewDSAPublicKey returns a PublicKey that wraps the given rsa.PublicKey. +// NewDSAPublicKey returns a PublicKey that wraps the given dsa.PublicKey. func NewDSAPublicKey(creationTime time.Time, pub *dsa.PublicKey) *PublicKey { pk := &PublicKey{ CreationTime: creationTime,