]> git.apps.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>
Tue, 23 Sep 2014 20:55:49 +0000 (13:55 -0700)
commit216730221575d88a72b06ed3d71c9a54cffc5719
treee371083f330e7fa0b5971deef71ace8ee013dfe5
parentdab7a4f6ad054b53cedca76ee329a6395918b1ab
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>
(cherry picked from commit 7b137246b49a9f0b4d8b8d5cebfa78cc1ebd14e7)
src/common/ceph_crypto.h