Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
GrigoryPervakov committed Mar 21, 2024
1 parent 239bfa4 commit 798d631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Server/CertificateReloader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ int CertificateReloader::setCertificate(SSL * ssl)
for (auto cert = current->certs_chain.begin() + 1; cert != current->certs_chain.end(); cert++) {
ret = SSL_add1_chain_cert(ssl, const_cast<X509 *>(cert->certificate()));
if (!ret)
return ret;
return ret;
}
ret = SSL_use_PrivateKey(ssl, const_cast<EVP_PKEY *>(static_cast<const EVP_PKEY *>(current->key)));

Expand Down

0 comments on commit 798d631

Please sign in to comment.