Home
last modified time | relevance | path

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

/external/conscrypt/src/main/native/
Dorg_conscrypt_NativeCrypto.cpp9216 unsigned npnLength; local
9217 SSL_get0_next_proto_negotiated(ssl, reinterpret_cast<const unsigned char**>(&npn), &npnLength);
9218 if (npnLength == 0) {
9221 jbyteArray result = env->NewByteArray(npnLength);
9223 env->SetByteArrayRegion(result, 0, npnLength, npn);
9264 unsigned npnLength; local
9265 SSL_get0_alpn_selected(ssl, reinterpret_cast<const unsigned char**>(&npn), &npnLength);
9266 if (npnLength == 0) {
9269 jbyteArray result = env->NewByteArray(npnLength);
9271 env->SetByteArrayRegion(result, 0, npnLength, npn);