Skip to content

Commit 9759f73

Browse files
committed
Merge e6c7132
2 parents a0a95e1 + e6c7132 commit 9759f73

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
signature
2-
checkSignature: parts
3-
2+
checkSignature: aString
3+
| token |
4+
token := (aString isString not)
5+
ifTrue: [
6+
"this seems to be the old usage handing out the parts collection so resemble"
7+
$. join: aString ]
8+
ifFalse: [ aString ].
49

5-
self protectedHeader algorithm checkSignature: parts withKey: key
10+
self protectedHeader algorithm checkSignature: token withKey: key

0 commit comments

Comments
 (0)