]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common: move gen_rand_alphanumeric() helpers into common 31567/head
authorCasey Bodley <cbodley@redhat.com>
Fri, 8 Nov 2019 20:52:44 +0000 (15:52 -0500)
committerCasey Bodley <cbodley@redhat.com>
Tue, 12 Nov 2019 14:58:33 +0000 (09:58 -0500)
commitbfa76731aa338ca2c8a9e6dc52a19ae71aeb0bbf
treed45f9acf0d67ce7badd2e325f08acba910fb1f51
parentfb8975e0d4ce618c0b61aff3578e71706d23ae22
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>
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