]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common: move gen_rand_alphanumeric() helpers into common 39276/head
authorCasey Bodley <cbodley@redhat.com>
Fri, 8 Nov 2019 20:52:44 +0000 (15:52 -0500)
committerNathan Cutler <ncutler@suse.com>
Wed, 24 Feb 2021 09:47:04 +0000 (10:47 +0100)
commit56ab7f02229c827a9a79f81bfe2ceb38b414a704
treee2560e9778a3224c48816bc30bc4fa7871a8891d
parent6cb365ebfd41ba6a842337b9c694f8d285590024
common: move gen_rand_alphanumeric() helpers into common

and adds overloads that return std::string directly

the motivation is to remove cls_otp's dependency on rgw_common.h

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit bfa76731aa338ca2c8a9e6dc52a19ae71aeb0bbf)

Conflicts:
src/common/CMakeLists.txt
- no rabin.cc in nautilus
src/cls/otp/cls_otp_client.cc
src/common/CMakeLists.txt
src/common/random_string.cc [new file with mode: 0644]
src/common/random_string.h [new file with mode: 0644]
src/rgw/rgw_common.cc
src/rgw/rgw_common.h
src/rgw/rgw_lc_s3.cc
src/rgw/rgw_rados.cc
src/test/CMakeLists.txt
src/test/test_random_string.cc