Home
last modified time | relevance | path

Searched refs:alpnLength (Results 1 – 1 of 1) sorted by relevance

/external/conscrypt/common/src/jni/main/cpp/
DNativeCrypto.cpp6968 unsigned int alpnLength; in NativeCrypto_SSL_get0_alpn_selected() local
6969 SSL_get0_alpn_selected(ssl, reinterpret_cast<const unsigned char**>(&alpn), &alpnLength); in NativeCrypto_SSL_get0_alpn_selected()
6970 if (alpnLength == 0) { in NativeCrypto_SSL_get0_alpn_selected()
6973 jbyteArray result = env->NewByteArray(static_cast<jsize>(alpnLength)); in NativeCrypto_SSL_get0_alpn_selected()
6975 env->SetByteArrayRegion(result, 0, (static_cast<jsize>(alpnLength)), alpn); in NativeCrypto_SSL_get0_alpn_selected()