RFR: JDK-8261969: SNIHostName would check if the encoded hostname conform to RFC 3490

John Jiang jjiang at openjdk.java.net
Fri Feb 19 12:05:46 UTC 2021


Similar to the constructor SNIHostName(String hostname), the constructor SNIHostName(byte[] encoded) also needs to check if the encoded hostname conform to RFC 3490.

-------------

Commit messages:
 - JDK-8261969: SNIHostName would check if the encoded hostname conform to RFC 3490

Changes: https://git.openjdk.java.net/jdk/pull/2639/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2639&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8261969
  Stats: 39 lines in 2 files changed: 24 ins; 5 del; 10 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2639.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2639/head:pull/2639

PR: https://git.openjdk.java.net/jdk/pull/2639



More information about the security-dev mailing list