Commit b7e6501
authored
Throw SSLException in SSL_set1_ech_config_list (#1405)
Prior to this change, NativeCrypto.SSL_set1_ech_config_list would throw
a OpenSSLX509CertificateFactory.ParsingException. Since the config list
is not directly linked to that exception, use the more generic
SSLException instead. Update the Java declaration to explicitly throws
this exception.
NativeCrypto.SSL_ech_accepted was found to raise a similar exception.
Simply return false.1 parent f5a96c9 commit b7e6501
File tree
3 files changed
+5
-8
lines changed- common/src
- jni/main/cpp/conscrypt
- main/java/org/conscrypt
- openjdk/src/test/java/org/conscrypt
3 files changed
+5
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11857 | 11857 | | |
11858 | 11858 | | |
11859 | 11859 | | |
11860 | | - | |
| 11860 | + | |
11861 | 11861 | | |
11862 | 11862 | | |
11863 | 11863 | | |
| |||
11955 | 11955 | | |
11956 | 11956 | | |
11957 | 11957 | | |
11958 | | - | |
11959 | | - | |
11960 | 11958 | | |
11961 | 11959 | | |
11962 | 11960 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1627 | 1627 | | |
1628 | 1628 | | |
1629 | 1629 | | |
1630 | | - | |
1631 | | - | |
| 1630 | + | |
| 1631 | + | |
1632 | 1632 | | |
1633 | 1633 | | |
1634 | 1634 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
632 | 632 | | |
633 | 633 | | |
634 | 634 | | |
635 | | - | |
| 635 | + | |
636 | 636 | | |
637 | 637 | | |
638 | 638 | | |
| |||
663 | 663 | | |
664 | 664 | | |
665 | 665 | | |
666 | | - | |
667 | | - | |
| 666 | + | |
668 | 667 | | |
669 | 668 | | |
670 | 669 | | |
| |||
0 commit comments