diff options
Diffstat (limited to 'CryptoPkg/Library/BaseCryptLib/Pk/CryptX509.c')
-rw-r--r-- | CryptoPkg/Library/BaseCryptLib/Pk/CryptX509.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/CryptoPkg/Library/BaseCryptLib/Pk/CryptX509.c b/CryptoPkg/Library/BaseCryptLib/Pk/CryptX509.c index 349d37b045..628e71439e 100644 --- a/CryptoPkg/Library/BaseCryptLib/Pk/CryptX509.c +++ b/CryptoPkg/Library/BaseCryptLib/Pk/CryptX509.c @@ -102,7 +102,6 @@ X509ConstructCertificateStackV ( STACK_OF (X509) *CertStack;
BOOLEAN Status;
- UINTN Index;
//
// Check input parameters.
@@ -124,7 +123,7 @@ X509ConstructCertificateStackV ( }
}
- for (Index = 0; ; Index++) {
+ while (TRUE) {
//
// If Cert is NULL, then it is the end of the list.
//
|