diff options
author | Daniel Seither <[email protected]> | 2015-06-20 18:27:06 +0200 |
---|---|---|
committer | Daniel Seither <[email protected]> | 2015-06-20 19:05:07 +0200 |
commit | f19604516c0138ffc240388073af2ce0735c48aa (patch) | |
tree | 007b800a51542e11dabcc72250d9c5ee2d56d9f2 /src/lib/math/ec_gfp/point_gfp.h | |
parent | de51fccc5ad04ca734ee91a829298ee06ee948f4 (diff) |
lib/math: Convert &vec[0] to vec.data()
Diffstat (limited to 'src/lib/math/ec_gfp/point_gfp.h')
-rw-r--r-- | src/lib/math/ec_gfp/point_gfp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/math/ec_gfp/point_gfp.h b/src/lib/math/ec_gfp/point_gfp.h index 8cbb59370..813ead81e 100644 --- a/src/lib/math/ec_gfp/point_gfp.h +++ b/src/lib/math/ec_gfp/point_gfp.h @@ -268,7 +268,7 @@ PointGFp BOTAN_DLL OS2ECP(const byte data[], size_t data_len, template<typename Alloc> PointGFp OS2ECP(const std::vector<byte, Alloc>& data, const CurveGFp& curve) - { return OS2ECP(&data[0], data.size(), curve); } + { return OS2ECP(data.data(), data.size(), curve); } } |