Lines Matching refs:serverinfo_length
592 size_t serverinfo_length, in serverinfo_find_extension() argument
601 if (serverinfo == NULL || serverinfo_length == 0) in serverinfo_find_extension()
604 if (!PACKET_buf_init(&pkt, serverinfo, serverinfo_length)) in serverinfo_find_extension()
659 size_t serverinfo_length = 0; in serverinfoex_srv_add_cb() local
673 &serverinfo_length)) != 0) { in serverinfoex_srv_add_cb()
675 int retval = serverinfo_find_extension(serverinfo, serverinfo_length, in serverinfoex_srv_add_cb()
704 size_t serverinfo_length, SSL_CTX *ctx) in serverinfo_process_buffer() argument
708 if (serverinfo == NULL || serverinfo_length == 0) in serverinfo_process_buffer()
714 if (!PACKET_buf_init(&pkt, serverinfo, serverinfo_length)) in serverinfo_process_buffer()
791 size_t serverinfo_length) in SSL_CTX_use_serverinfo_ex() argument
795 if (ctx == NULL || serverinfo == NULL || serverinfo_length == 0) { in SSL_CTX_use_serverinfo_ex()
805 serverinfo_length); in SSL_CTX_use_serverinfo_ex()
813 extension_append(SSL_SERVERINFOV1, serverinfo, serverinfo_length, sinfo); in SSL_CTX_use_serverinfo_ex()
821 if (!serverinfo_process_buffer(version, serverinfo, serverinfo_length, in SSL_CTX_use_serverinfo_ex()
831 serverinfo_length); in SSL_CTX_use_serverinfo_ex()
835 memcpy(ctx->cert->key->serverinfo, serverinfo, serverinfo_length); in SSL_CTX_use_serverinfo_ex()
836 ctx->cert->key->serverinfo_length = serverinfo_length; in SSL_CTX_use_serverinfo_ex()
842 if (!serverinfo_process_buffer(version, serverinfo, serverinfo_length, in SSL_CTX_use_serverinfo_ex()
851 size_t serverinfo_length) in SSL_CTX_use_serverinfo() argument
854 serverinfo_length); in SSL_CTX_use_serverinfo()
861 size_t serverinfo_length = 0; in SSL_CTX_use_serverinfo_file() local
942 tmp = OPENSSL_realloc(serverinfo, serverinfo_length + append_length); in SSL_CTX_use_serverinfo_file()
947 serverinfo + serverinfo_length); in SSL_CTX_use_serverinfo_file()
948 serverinfo_length += append_length; in SSL_CTX_use_serverinfo_file()
959 serverinfo_length); in SSL_CTX_use_serverinfo_file()