diff options
author | Simon Warta <[email protected]> | 2015-06-23 18:59:02 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2015-06-23 18:59:02 +0200 |
commit | 28b2beef62d4b465193659545e857f253d59f817 (patch) | |
tree | 05f6a67bd364c04f9e71ee2b6e8e3ac0bcf9be1c /src/lib/rng/rng.h | |
parent | 9a841344acb1844082a0e46c26f91b4f50af86dd (diff) |
lib/rng: Convert &vec[0] to vec.data()
Diffstat (limited to 'src/lib/rng/rng.h')
-rw-r--r-- | src/lib/rng/rng.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/rng/rng.h b/src/lib/rng/rng.h index 836eb1006..2abd11532 100644 --- a/src/lib/rng/rng.h +++ b/src/lib/rng/rng.h @@ -42,7 +42,7 @@ class BOTAN_DLL RandomNumberGenerator virtual secure_vector<byte> random_vec(size_t bytes) { secure_vector<byte> output(bytes); - randomize(&output[0], output.size()); + randomize(output.data(), output.size()); return output; } |