diff options
author | lloyd <[email protected]> | 2015-01-23 17:47:31 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2015-01-23 17:47:31 +0000 |
commit | 848314e16daed06e6e519dbf8c40edf9c85a51bf (patch) | |
tree | a7d246972486ae5f49090689090af7d351110ec6 /src/lib/pubkey/mce/goppa_code.cpp | |
parent | b6cc9a4084caf6d9d4b955fadc321f6521f2b36e (diff) |
Centralize where string.h/cstring is included to mem_ops.h
See github 42 for background
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 bb335e994..59e8ab97d 100644 --- a/src/lib/pubkey/mce/goppa_code.cpp +++ b/src/lib/pubkey/mce/goppa_code.cpp @@ -179,7 +179,7 @@ secure_vector<byte> mceliece_decrypt( secure_vector<byte> cleartext(cleartext_len); - std::memcpy(&cleartext[0], ciphertext, cleartext_len); + copy_mem(&cleartext[0], ciphertext, cleartext_len); for(u32bit i = 0; i < nb_err; i++) { |