Skip to content

Commit fc93396

Browse files
Update src/snowflake/connector/crl.py
Co-authored-by: Tomasz Urbaszek <[email protected]>
1 parent d99beef commit fc93396

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/snowflake/connector/crl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ def validate_certificate_chain(
292292

293293
if result == CRLValidationResult.UNREVOKED:
294294
return True
295-
elif result == CRLValidationResult.REVOKED:
295+
if result == CRLValidationResult.REVOKED:
296296
return False
297297
# In advisory mode, errors are treated positively
298298
return self._cert_revocation_check_mode == CertRevocationCheckMode.ADVISORY

0 commit comments

Comments
 (0)