From 522d73aff8a321c96ba3cb1fe0ab7ffef1e15fab Mon Sep 17 00:00:00 2001 From: lloyd Date: Tue, 14 Sep 2010 13:57:09 +0000 Subject: Implicit conversions --- src/pk_pad/emsa4/emsa4.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pk_pad/emsa4') 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& const_coded, if(salt_offset == 0) return false; - SecureVector salt(DB + salt_offset, DB.size() - salt_offset); + SecureVector salt(&DB[salt_offset], DB.size() - salt_offset); for(u32bit j = 0; j != 8; ++j) hash->update(0); -- cgit v1.2.3