We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce42e61 commit 9af62ceCopy full SHA for 9af62ce
src/librepgp/stream-packet.cpp
@@ -1149,7 +1149,7 @@ pgp_pk_sesskey_t::parse(pgp_source_t &src)
1149
return RNP_ERROR_BAD_FORMAT;
1150
}
1151
fp.length = fp_len;
1152
- if (fp.length && (fp.length != fp_and_key_ver_len - 1)) {
+ if (fp.length && (fp.length + 1 != fp_and_key_ver_len)) {
1153
RNP_LOG("size mismatch (fingerprint size and fp+key version length field)");
1154
1155
0 commit comments