mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2025-03-30 15:08:32 +00:00
Make signaturePacket.rawNotations[*].critical
a boolean
This commit is contained in:
parent
3a6e2d1661
commit
375b03dcd4
@ -354,7 +354,7 @@ class SignaturePacket {
|
||||
let mypos = 0;
|
||||
|
||||
// The leftmost bit denotes a "critical" packet
|
||||
const critical = bytes[mypos] & 0x80;
|
||||
const critical = !!(bytes[mypos] & 0x80);
|
||||
const type = bytes[mypos] & 0x7F;
|
||||
|
||||
if (!hashed) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user