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