aboutsummaryrefslogtreecommitdiffstats
path: root/src/pubkey/pubkey.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pubkey/pubkey.h')
-rw-r--r--src/pubkey/pubkey.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pubkey/pubkey.h b/src/pubkey/pubkey.h
index ff4355675..2ea60fc86 100644
--- a/src/pubkey/pubkey.h
+++ b/src/pubkey/pubkey.h
@@ -230,7 +230,8 @@ class BOTAN_DLL PK_Verifier
bool verify_message(const MemoryRegion<byte>& msg,
const MemoryRegion<byte>& sig)
{
- return verify_message(msg, msg.size(), sig, sig.size());
+ return verify_message(&msg[0], msg.size(),
+ &sig[0], sig.size());
}
/**