mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8241248: NullPointerException in sun.security.ssl.HKDF.extract(HKDF.java:93)
Reviewed-by: jnimeh, xuelei
This commit is contained in:
parent
0f925d1f58
commit
1603ca2342
4 changed files with 42 additions and 5 deletions
|
@ -175,6 +175,15 @@ final class SSLSessionContextImpl implements SSLSessionContext {
|
|||
return (SSLSessionImpl)getSession(id);
|
||||
}
|
||||
|
||||
// package-private method, find and remove session from cache
|
||||
// return found session
|
||||
SSLSessionImpl pull(byte[] id) {
|
||||
if (id != null) {
|
||||
return sessionCache.pull(new SessionId(id));
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
// package-private method, used ONLY by ClientHandshaker
|
||||
SSLSessionImpl get(String hostname, int port) {
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue