diff options
Diffstat (limited to 'src/lib/pubkey/mce/goppa_code.cpp')
-rw-r--r-- | src/lib/pubkey/mce/goppa_code.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/pubkey/mce/goppa_code.cpp b/src/lib/pubkey/mce/goppa_code.cpp index 59e8ab97d..6f4b40226 100644 --- a/src/lib/pubkey/mce/goppa_code.cpp +++ b/src/lib/pubkey/mce/goppa_code.cpp @@ -141,7 +141,7 @@ secure_vector<byte> mceliece_decrypt( u32bit t = key.get_goppa_polyn().get_degree(); polyn_gf2m syndrome_polyn(key.get_goppa_polyn().get_sp_field()); // init as zero polyn const unsigned unused_pt_bits = dimension % 8; - const unsigned char unused_pt_bits_mask = (1 << unused_pt_bits) - 1; + const byte unused_pt_bits_mask = (1 << unused_pt_bits) - 1; if(ciphertext_len != (key.get_code_length()+7)/8) { |