Skip to content

Commit 58847bf

Browse files
committed
not handled error state in SSLContextBuiltins.getCertificates
1 parent 79e49d7 commit 58847bf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/ssl/SSLContextBuiltins.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -752,6 +752,7 @@ private void getCertificates(String dataString, List<Object> certificates) throw
752752
LoadCertError result = CertUtils.getCertificates(r, certificates);
753753
switch (result) {
754754
case BAD_BASE64_DECODE:
755+
case SOME_BAD_BASE64_DECODE:
755756
case EMPTY_CERT:
756757
throw PRaiseSSLErrorNode.raiseUncached(this, SSLErrorCode.ERROR_BAD_BASE64_DECODE, ErrorMessages.BAD_BASE64_DECODE);
757758
case BEGIN_CERTIFICATE_WITHOUT_END:

0 commit comments

Comments
 (0)