Lines Matching refs:serverinfo_length
678 size_t serverinfo_length, in serverinfo_find_extension() argument
687 if (serverinfo == NULL || serverinfo_length == 0) in serverinfo_find_extension()
690 if (!PACKET_buf_init(&pkt, serverinfo, serverinfo_length)) in serverinfo_find_extension()
745 size_t serverinfo_length = 0; in serverinfoex_srv_add_cb() local
753 &serverinfo_length)) != 0) { in serverinfoex_srv_add_cb()
755 int retval = serverinfo_find_extension(serverinfo, serverinfo_length, in serverinfoex_srv_add_cb()
784 size_t serverinfo_length, SSL_CTX *ctx) in serverinfo_process_buffer() argument
788 if (serverinfo == NULL || serverinfo_length == 0) in serverinfo_process_buffer()
794 if (!PACKET_buf_init(&pkt, serverinfo, serverinfo_length)) in serverinfo_process_buffer()
843 size_t serverinfo_length) in SSL_CTX_use_serverinfo_ex() argument
847 if (ctx == NULL || serverinfo == NULL || serverinfo_length == 0) { in SSL_CTX_use_serverinfo_ex()
851 if (!serverinfo_process_buffer(version, serverinfo, serverinfo_length, in SSL_CTX_use_serverinfo_ex()
861 serverinfo_length); in SSL_CTX_use_serverinfo_ex()
867 memcpy(ctx->cert->key->serverinfo, serverinfo, serverinfo_length); in SSL_CTX_use_serverinfo_ex()
868 ctx->cert->key->serverinfo_length = serverinfo_length; in SSL_CTX_use_serverinfo_ex()
874 if (!serverinfo_process_buffer(version, serverinfo, serverinfo_length, in SSL_CTX_use_serverinfo_ex()
883 size_t serverinfo_length) in SSL_CTX_use_serverinfo() argument
886 serverinfo_length); in SSL_CTX_use_serverinfo()
893 size_t serverinfo_length = 0; in SSL_CTX_use_serverinfo_file() local
980 tmp = OPENSSL_realloc(serverinfo, serverinfo_length + extension_length in SSL_CTX_use_serverinfo_file()
988 unsigned char *sinfo = serverinfo + serverinfo_length; in SSL_CTX_use_serverinfo_file()
996 memcpy(serverinfo + serverinfo_length + contextoff, in SSL_CTX_use_serverinfo_file()
998 serverinfo_length += extension_length + contextoff; in SSL_CTX_use_serverinfo_file()
1009 serverinfo_length); in SSL_CTX_use_serverinfo_file()