Searched refs:protosBytes (Results 1 – 1 of 1) sorted by relevance
8139 ScopedByteArrayRO protosBytes(env, protocols); in NativeCrypto_setApplicationProtocols() local8140 if (protosBytes.get() == nullptr) { in NativeCrypto_setApplicationProtocols()8148 const unsigned char* tmp = reinterpret_cast<const unsigned char*>(protosBytes.get()); in NativeCrypto_setApplicationProtocols()8149 int ret = SSL_set_alpn_protos(ssl, tmp, static_cast<unsigned int>(protosBytes.size())); in NativeCrypto_setApplicationProtocols()