]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
auth: return error code from encrypt/decrypt; make error string optional 7488/head
authorSage Weil <sage@redhat.com>
Mon, 23 Feb 2015 22:58:19 +0000 (14:58 -0800)
committerJosh Durgin <jdurgin@redhat.com>
Fri, 8 Jan 2016 21:42:25 +0000 (13:42 -0800)
commitdf3f971eafda9c54881c13dcf47f996f18e17028
treeaba7d0a7f38266bd611a1b99b86839d057b96834
parent224bb3928de048b13a96ee0377b6d279ce84ac0a
auth: return error code from encrypt/decrypt; make error string optional

This is simpler for a lot of callers.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 40203f711dd59c7f61f5f8eb56a97842c3206494)

Conflicts:
src/test/crypto.cc (trivial)
src/auth/Crypto.cc
src/auth/Crypto.h
src/auth/cephx/CephxProtocol.h
src/auth/cephx/CephxSessionHandler.cc
src/test/crypto.cc
src/test/testcrypto.cc