Skip to content

Commit 0911e67

Browse files
committed
Fix from review
1 parent 068b4a2 commit 0911e67

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/x509.c

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11703,10 +11703,6 @@ WOLF_STACK_OF(WOLFSSL_X509_OBJECT)* wolfSSL_sk_X509_OBJECT_deep_copy(
1170311703
}
1170411704

1170511705
if (ret == WOLFSSL_SUCCESS) {
11706-
#if defined(OPENSSL_ALL)
11707-
int idx;
11708-
#endif
11709-
1171011706
cert->version = req->version;
1171111707
cert->isCA = req->isCa;
1171211708
cert->basicConstSet = req->basicConstSet;
@@ -11733,6 +11729,12 @@ WOLF_STACK_OF(WOLFSSL_X509_OBJECT)* wolfSSL_sk_X509_OBJECT_deep_copy(
1173311729

1173411730
cert->extKeyUsage = req->extKeyUsage;
1173511731
#endif
11732+
}
11733+
11734+
if (ret == WOLFSSL_SUCCESS) {
11735+
#if defined(OPENSSL_ALL)
11736+
int idx;
11737+
#endif
1173611738

1173711739
XMEMCPY(cert->challengePw, req->challengePw, CTC_NAME_SIZE);
1173811740
cert->challengePwPrintableString = req->challengePw[0] != 0;

0 commit comments

Comments
 (0)