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