You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The patch in #102 introduced a subtle bug: In case where the r or s value of the signature is a "small" number, BN_bn2bin will actually produce less than 32 bytes per value. In this case some 0 padding is necessary to make sure that the final signature is 2 x 32 = 64 bytes long. See eg: kylebrowning/APNSwift#48
The text was updated successfully, but these errors were encountered:
The patch in #102 introduced a subtle bug: In case where the
r
ors
value of the signature is a "small" number,BN_bn2bin
will actually produce less than32
bytes per value. In this case some0
padding is necessary to make sure that the final signature is2 x 32 = 64 bytes
long. See eg: kylebrowning/APNSwift#48The text was updated successfully, but these errors were encountered: