diff options
Diffstat (limited to 'src/murmur/Cert.cpp')
-rw-r--r-- | src/murmur/Cert.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/murmur/Cert.cpp b/src/murmur/Cert.cpp index 6ef162c48..29402acbe 100644 --- a/src/murmur/Cert.cpp +++ b/src/murmur/Cert.cpp @@ -59,12 +59,12 @@ bool Server::isKeyForCert(const QSslKey &key, const QSslCertificate &cert) { BIO *mem = NULL; mem = BIO_new_mem_buf(qbaKey.data(), qbaKey.size()); - BIO_set_close(mem, BIO_NOCLOSE); + Q_UNUSED(BIO_set_close(mem, BIO_NOCLOSE)); pkey = d2i_PrivateKey_bio(mem, NULL); BIO_free(mem); mem = BIO_new_mem_buf(qbaCert.data(), qbaCert.size()); - BIO_set_close(mem, BIO_NOCLOSE); + Q_UNUSED(BIO_set_close(mem, BIO_NOCLOSE)); x509 = d2i_X509_bio(mem, NULL); BIO_free(mem); mem = NULL; |