]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crypto: don't hash zero sized buffer
authorYehuda Sadeh <yehuda@redhat.com>
Fri, 19 Sep 2014 03:51:02 +0000 (20:51 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Fri, 19 Sep 2014 17:48:45 +0000 (10:48 -0700)
commit7b137246b49a9f0b4d8b8d5cebfa78cc1ebd14e7
tree7ebc9774e330ebf7f76b92c5769739b5e46e112d
parent705abd9f3d3b81b5b8b5d8806c92b5956d7ff9c4
crypto: don't hash zero sized buffer

libnss returns an error and we assert in that case.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/common/ceph_crypto.h