const unsigned char* nextProto;
unsigned nextProtoLength;
+ SSLContext::NextProtocolType protocolType;
+
private:
void handshakeSuc(AsyncSSLSocket*) noexcept override {
- socket_->getSelectedNextProtocol(&nextProto,
- &nextProtoLength);
+ socket_->getSelectedNextProtocol(
+ &nextProto, &nextProtoLength, &protocolType);
}
void handshakeErr(
AsyncSSLSocket*,
const unsigned char* nextProto;
unsigned nextProtoLength;
+ SSLContext::NextProtocolType protocolType;
+
private:
void handshakeSuc(AsyncSSLSocket*) noexcept override {
- socket_->getSelectedNextProtocol(&nextProto,
- &nextProtoLength);
+ socket_->getSelectedNextProtocol(
+ &nextProto, &nextProtoLength, &protocolType);
}
void handshakeErr(
AsyncSSLSocket*,