Fix compilation error introduced by abf5e9fda5
This commit is contained in:
parent
1e333f5614
commit
93702ac877
@ -104,8 +104,8 @@ class OpenSslKeyMaterialManager {
|
||||
// Only encode one time
|
||||
PemEncoded encoded = PemX509Certificate.toPEM(ByteBufAllocator.DEFAULT, true, certificates);
|
||||
try {
|
||||
keyCertChainBio = newBIO(encoded.content().retainedSlice());
|
||||
keyCertChainBio2 = newBIO(encoded.content().retainedSlice());
|
||||
keyCertChainBio = newBIO(encoded.content().slice().retain());
|
||||
keyCertChainBio2 = newBIO(encoded.content().slice().retain());
|
||||
|
||||
if (key != null) {
|
||||
keyBio = toBIO(key);
|
||||
|
@ -621,8 +621,8 @@ public abstract class ReferenceCountedOpenSslContext extends SslContext implemen
|
||||
try {
|
||||
// Only encode one time
|
||||
encoded = PemX509Certificate.toPEM(ByteBufAllocator.DEFAULT, true, keyCertChain);
|
||||
keyCertChainBio = newBIO(encoded.content().retainedSlice());
|
||||
keyCertChainBio2 = newBIO(encoded.content().retainedSlice());
|
||||
keyCertChainBio = newBIO(encoded.content().slice().retain());
|
||||
keyCertChainBio2 = newBIO(encoded.content().slice().retain());
|
||||
|
||||
if (key != null) {
|
||||
keyBio = toBIO(key);
|
||||
|
Loading…
Reference in New Issue
Block a user