Lines Matching defs:out
167 /* Now we can finally pull out the byte array with the actual hostname. */
345 static int parse_protos(const char *protos, unsigned char **out, size_t *outlen)
352 if (!TEST_ptr_null(*out)
354 || !TEST_ptr(*out = OPENSSL_malloc(len + 1)))
362 memcpy(*out + 1, protos, len);
367 if ((*out)[i] == ',') {
370 (*out)[prefix] = (unsigned char)(i - 1 - prefix);
377 (*out)[prefix] = (unsigned char)(len - prefix);
381 OPENSSL_free(*out);
382 *out = NULL;
393 static int client_npn_cb(SSL *s, unsigned char **out, unsigned char *outlen,
400 ret = SSL_select_next_proto(out, outlen, in, inlen,
424 static int server_alpn_cb(SSL *s, const unsigned char **out,
443 *out = tmp_out;
1530 * errors out, we also let the other peer retry (and presumably fail).