Fix a typo

This commit is contained in:
Miloslav Trmač 2016-05-26 22:15:28 +02:00
parent 2e917cf146
commit e332d0e5d7

View File

@ -363,7 +363,7 @@ func (kt *sbKeyType) UnmarshalJSON(data []byte) error {
// newPRSignedBaseLayer is NewPRSignedBaseLayer, except it returns the private type.
func newPRSignedBaseLayer(baseLayerIdentity PolicyReferenceMatch) (*prSignedBaseLayer, error) {
if baseLayerIdentity == nil {
return nil, InvalidPolicyFormatError("baseLayerIdenitty not specified")
return nil, InvalidPolicyFormatError("baseLayerIdentity not specified")
}
return &prSignedBaseLayer{
prCommon: prCommon{Type: prTypeSignedBaseLayer},