]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
CephxProtocol.h: pass CryptoKey by reference to decode_decrypt()
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Wed, 13 Feb 2013 12:14:02 +0000 (13:14 +0100)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Wed, 13 Feb 2013 12:59:18 +0000 (13:59 +0100)
commita3970e56269a26016b99aed53af045df45a01109
tree0c0c304b6cf725faca61b8fdc1bf77d0a4bcaaf3
parent9d6eccbff9fca901f1783aa3321c07118c3f8966
CephxProtocol.h: pass CryptoKey by reference to decode_decrypt()

Fix issues found by cppcheck:

[src/auth/cephx/CephxProtocol.h:469]: (performance) Function
  parameter 'key' should be passed by reference.

Pass CryptoKey by reference as already done in encode_encrypt().

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/auth/cephx/CephxProtocol.h