diff options
author | lloyd <[email protected]> | 2010-09-14 13:57:09 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-09-14 13:57:09 +0000 |
commit | 522d73aff8a321c96ba3cb1fe0ab7ffef1e15fab (patch) | |
tree | 07f0a5e37aa8a4833359fb9d883d82a4cc3bdcd5 /src/pk_pad/emsa4 | |
parent | d472ea829a530fd6995293904d4f07a7ef8b5472 (diff) |
Implicit conversions
Diffstat (limited to 'src/pk_pad/emsa4')
-rw-r--r-- | src/pk_pad/emsa4/emsa4.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pk_pad/emsa4/emsa4.cpp b/src/pk_pad/emsa4/emsa4.cpp index b056d7c27..a647a521d 100644 --- a/src/pk_pad/emsa4/emsa4.cpp +++ b/src/pk_pad/emsa4/emsa4.cpp @@ -110,7 +110,7 @@ bool EMSA4::verify(const MemoryRegion<byte>& const_coded, if(salt_offset == 0) return false; - SecureVector<byte> salt(DB + salt_offset, DB.size() - salt_offset); + SecureVector<byte> salt(&DB[salt_offset], DB.size() - salt_offset); for(u32bit j = 0; j != 8; ++j) hash->update(0); |