Fix NPE in OpenSslEngine
This commit is contained in:
parent
cf3e4e7043
commit
46ed3d4c97
@ -808,7 +808,11 @@ public final class OpenSslEngine extends SSLEngine {
|
||||
if (applicationProtocol == null) {
|
||||
applicationProtocol = fallbackApplicationProtocol;
|
||||
}
|
||||
if (applicationProtocol != null) {
|
||||
this.applicationProtocol = applicationProtocol.replace(':', '_');
|
||||
} else {
|
||||
this.applicationProtocol = null;
|
||||
}
|
||||
return FINISHED;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user