We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7be1ed commit 0bc4529Copy full SHA for 0bc4529
src/node_crypto.cc
@@ -591,7 +591,7 @@ int SSL_CTX_use_certificate_chain(SSL_CTX* ctx,
591
if (!r) {
592
ret = 0;
593
issuer = nullptr;
594
- goto end;
+ break;
595
}
596
// Note that we must not free r if it was successfully
597
// added to the chain (while we must free the main
@@ -618,12 +618,10 @@ int SSL_CTX_use_certificate_chain(SSL_CTX* ctx,
618
issuer = X509_dup(issuer);
619
if (issuer == nullptr) {
620
621
622
623
624
625
626
- end:
627
issuer_->reset(issuer);
628
629
if (ret && x != nullptr) {
0 commit comments