mirror of
https://github.com/ceph/ceph
synced 2025-02-24 11:37:37 +00:00
ceph_crypto: Assert that NSS initialization works.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
This commit is contained in:
parent
4107e2966a
commit
84454c24d1
@ -9,7 +9,9 @@ ceph::crypto::HMACSHA1::~HMACSHA1()
|
||||
#elif USE_NSS
|
||||
|
||||
void ceph::crypto::init() {
|
||||
NSS_NoDB_Init(NULL);
|
||||
SECStatus s;
|
||||
s = NSS_NoDB_Init(NULL);
|
||||
assert(s == SECSuccess);
|
||||
}
|
||||
|
||||
ceph::crypto::HMACSHA1::~HMACSHA1()
|
||||
|
Loading…
Reference in New Issue
Block a user