From 6adb3f0f45431aa2185cee5404f8c7445435db76 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sat, 5 May 2018 16:11:48 -0700 Subject: [PATCH] Replace assert() with Q_ASSERT() --- identitymanager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/identitymanager.cpp b/identitymanager.cpp index 19f9ba34..1d61a9cc 100644 --- a/identitymanager.cpp +++ b/identitymanager.cpp @@ -118,8 +118,8 @@ IdentityManager::IdentityManager() BIO_free(biocert); // Ensure we can actually consume the keys we just wrote - assert(!QSslCertificate(m_CachedPemCert).isNull()); - assert(!QSslKey(m_CachedPrivateKey, QSsl::Rsa).isNull()); + Q_ASSERT(!QSslCertificate(m_CachedPemCert).isNull()); + Q_ASSERT(!QSslKey(m_CachedPrivateKey, QSsl::Rsa).isNull()); qDebug() << "Wrote new identity credentials to disk"; }