From a49ffa12392973215986261fd8863e6042089f34 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Wed, 22 Jun 2011 18:04:20 -0700 Subject: [PATCH] jsonsign: comment updates Change-Id: I32ca3fc47b7f2ee4208aa69b05cf3cd1fcc57696 --- lib/go/camli/jsonsign/verify.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/go/camli/jsonsign/verify.go b/lib/go/camli/jsonsign/verify.go index aa123f3b6..3b6458a9d 100644 --- a/lib/go/camli/jsonsign/verify.go +++ b/lib/go/camli/jsonsign/verify.go @@ -73,7 +73,7 @@ type VerifyRequest struct { // set if Verify() returns true: PayloadMap map[string]interface{} // The JSON values from BPJ - SignerKeyId string + SignerKeyId string // e.g. "2931A67C26F5ABDA" Err os.Error // last error encountered } @@ -204,6 +204,7 @@ func NewVerificationRequest(sjson string, fetcher blobref.StreamingFetcher) (vr return } +// TODO: turn this into (bool, os.Error) return, probably, or *Details, os.Error. func (vr *VerifyRequest) Verify() bool { if vr.Err != nil { return false