Message ID | 20240709111440.8215-14-Michael.Glembotzki@iris-sensing.com |
---|---|
State | Accepted |
Headers | show
Return-Path: <swupdate+bncBDY5JUXLVIEBBT5XWS2AMGQE4Q7GONQ@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20230601 header.b=hHJDW/Pp; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=ZjZN5OSw; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::23a; helo=mail-lj1-x23a.google.com; envelope-from=swupdate+bncbdy5juxlviebbt5xws2amgqe4q7gonq@googlegroups.com; receiver=patchwork.ozlabs.org) Received: from mail-lj1-x23a.google.com (mail-lj1-x23a.google.com [IPv6:2a00:1450:4864:20::23a]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WJJLq4vSBz1yV0 for <incoming@patchwork.ozlabs.org>; Tue, 9 Jul 2024 21:15:31 +1000 (AEST) Received: by mail-lj1-x23a.google.com with SMTP id 38308e7fff4ca-2ee90339092sf59496431fa.1 for <incoming@patchwork.ozlabs.org>; Tue, 09 Jul 2024 04:15:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1720523728; cv=pass; d=google.com; s=arc-20160816; b=RCYWMQaIGG19dnKlfXmyilZQS7QH9KlLHE1/3YCJBA/u9nsSKrp3E+3j7xKPqbVsqv HH3lnH2yhMtVEoEvUdbfwIN/VG9IbwAI3HHB7TO94w3OKYZM4btPDfsb+awqAzLOfcHE /skilq/TkmKCzEWJ5NlYwHY8WJfPqsFV0PLI1VbNLpveVrDP/o+r90kwXwT6gaFGPsPU YHh7m4fIoevhHbufvXppBNDBzUTSDRdod8Iro3GKAPSONElrl1qDAlFSvBB60dkRtbPp gYpscOpE9drwwWtk4pe5F13BRwAvAfmY4CkbEI1E19vBYzXHnMpREXMnbKn78w2W8vA1 1Tpg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:dkim-signature :dkim-signature; bh=xtZPQZ+2nKlPxVFiMxOUiP/FriLEHPAWVJMcDpEIbwY=; fh=4tIBYeD9R9U9nTJS8Pz9lvkTSxX4QMaGLu9lfjgXZag=; b=eLmmiTnsHIOrH14pcNN21uRmrLLPpitt24OC5mhn/b0IuMjgYEwji27cJQNyLc3He8 dFNfPMUhWzvT3ad5enYMlz4l4jSMwocUdcgiy8cjxcKyk6VRquEXcVCbDWYsDRrstgPI xhmwp0Ip5yYoI/qBzWX8alGgHzWsw6l72N7NcBVBcOc2zkWgyFvAAhCv4BcXeelmRcWG vmrzVyYihYriJNgij2TZeF3iIqXl2sW+pn9K3lFDDJc0GLidlR40RKgX9BKmLaX9n/rq l1b1AkPZziUpW6deVQ6VHTem3a2TgKeO12PBNJEfxbTwXpLS8IQOd+4cUEpoODNijNaH MwgQ==; darn=patchwork.ozlabs.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=kTP4kSXm; spf=pass (google.com: domain of m.glembo@gmail.com designates 2a00:1450:4864:20::635 as permitted sender) smtp.mailfrom=m.glembo@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1720523728; x=1721128528; darn=patchwork.ozlabs.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:sender:from:to:cc:subject:date:message-id :reply-to; bh=xtZPQZ+2nKlPxVFiMxOUiP/FriLEHPAWVJMcDpEIbwY=; b=hHJDW/PpYixKjhCJ8FsCMQPlcbdFsFedyWI8BWi/go2uDAYjSLtgkKw+YbHX3S4R/9 D9tpYeI407jZro7wS9NDKY98SxfE2zjbi5seRkajvIQ/nmPL6fYB4szrlHo6gnAPGX1Z M0P8jAPuTJn0rPqejuikskd5SBc+D/GtwUulXKYLbk7++BPTlt+H+AeYPRDYnnCwaDR3 XOZ3dRyOwwarihIkJThOf+Se1L3dhbkLj/dfwMwp3tbobXwpWXYYOR2V5W0thqJFJxgJ Y3aAXe44aeZ3Z5S4UfP58czo5Nv3ugZiAnPh+Ev0TXpZ6ujyeGU4VTEEaQT/Gx96JYEq n1SQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720523728; x=1721128528; darn=patchwork.ozlabs.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=xtZPQZ+2nKlPxVFiMxOUiP/FriLEHPAWVJMcDpEIbwY=; b=ZjZN5OSwli/1NLjtVa7avsZkYsWFZpX9TW8A+evdDK18M+0YIuAUpplidQVGyvWxGR tGTmX88sN59lSe2XLVCKIQz1lBvylDb4WC7m8/IQMA13nOHuxVIzybUGq/4jKVcxV5qX 9udzoheQ9BWX8x58POy0xpAY2pTP2lfqvfvRpobIbbelgHFQrR5tfini4bAy3B3+rATU k6dkorXRWRbEgvmmxd1j6Knm7rPGjSh472FJJivQPg8/E6xhqBvPPhP7m1FmKvdFuVH4 MgIbpCSZnnqyBp11HHzfE0KyV0KJm1y+m5Bqc+ASCK4TmHhgqfFGdhWcrJKupV5yCSJQ Q0BA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720523728; x=1721128528; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=xtZPQZ+2nKlPxVFiMxOUiP/FriLEHPAWVJMcDpEIbwY=; b=iPZhN6WQPDHpnBWfmjO7kwqUwglTJ/Iv44s/Ii8DYvuINpuIQA1Oe67WwLsSM/gQWI WBg7zgBVqUnSUqWEIvcWMPX4KzxxpANbINb0Y4S6I9a7wcqC0m3EHvEHjhGohMJxk15/ mvQVBdBEne84qjsI4za2tHZFGmGVnu8uLLNyJup3K+Js80Kj+wyp4cjkoyc55oKlBW+t /o0LqvHH5hW3hliJwwFfT2/VHV3+IBHMeb4GKm5sPGd8vwkAAT9Hxfdox87CB+9CS5Wa GjTPjhbv0Q4eHaDvL4zS95UdJbb3YrBDr9bO+AsGWOmCRFtufoQeFqYn09RmpTJyWGE3 o1hA== Sender: swupdate@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCXjcgE6zrd59QH9Xo2eXgJJeSmVMuYas9IjkJLFWWYd8w3/z3ubS8ujkcQamfg31Fs64xnDO/rFNMQwZVDQ9rA6ptvleFAfwsg9oh69ug== X-Gm-Message-State: AOJu0Yz/1R+QySBC+k/0fIEKsx7B2A4guo0quDljZC2tcvqLBCdpyrrq cwGzwSslWV5eIi9RqsBP2UZwnzmjHbCv8Vbr8WihdHAn/cNwiFqC X-Google-Smtp-Source: AGHT+IGW0eEu7QPSH+fQOEoBjmfijRWi9HmPJe3vtjGDcaJRiZnmtulGJSCDVEDayHDUoo+eEW3Faw== X-Received: by 2002:a2e:b179:0:b0:2ec:56d1:f28 with SMTP id 38308e7fff4ca-2eeb30fee27mr14122631fa.26.1720523728036; Tue, 09 Jul 2024 04:15:28 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a05:651c:1682:b0:2ec:5941:b0cb with SMTP id 38308e7fff4ca-2ee8cdd352als4273641fa.1.-pod-prod-04-eu; Tue, 09 Jul 2024 04:15:25 -0700 (PDT) X-Received: by 2002:a2e:954e:0:b0:2ec:54f3:7b65 with SMTP id 38308e7fff4ca-2eeb3189e3amr15685361fa.36.1720523724099; Tue, 09 Jul 2024 04:15:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1720523724; cv=none; d=google.com; s=arc-20160816; b=PQVGQM5DhXEQZcDZeTuFTKiGnSiDFhbKFJ+hB8nXJf03PrNOWcMs8NyByAjFz1tPyv aYF/W9e9hFWm2z4aFJKvMz7mTVu0+HB0z+cW8+XOTPM5VQTdumV2nhnV5reW36lue8Da 5w6rjXty2fFpKmc853JSfgRs718lFhLgoj3S3T6tM8HU7Lqsd7eDcE0vxn3ceaFK5K5e axrPxUEZanVx1aG3CN9TC5d74e62dF+witC5t3yz2bW+/RW/BTK505GseMc7xyCQDiHY pyWbyiEknBqHjxgGS9KZRJqYrcackjfbkwWcuZB0nVfsrGCdZg55TL1Kb69GN9cRCQap Xv+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=bblelc7tG+Z+Y1bRmKhgm04cBRL5ebAwqzKl0ZH2/to=; fh=zydHuzCQWrku2OPQyZfraJZFcOpEXLQ/YBcu3QNiBd0=; b=wuB87QApL12rv/YFVOG8JdREtvDJQpH2V3NqugimMdBZttJrUhBd6fSIHDR3PSdSvg Rw66ZSzM+2olbMrojX+6yWZox8haL6VuZ8JuArdVr6aLtx69FE4RuxwcOjIgV+85msYo u61xoPUaQWoEzUL3HpTECpKv4h/6NKa2nQ2WXpoqvmrGCq8bHWoTX37LmuSYSjFojf0+ U3lQ2wzfQM8y6WEX8oQcwaUAvLleyCMHZQofREJryhU/PNNg5/KJL6TRbN8yJOP+R3Az njf6fT7/EUCHjQQzd+/+g5O3W31JnvELNhnZL1g9fJmgtxPWI8tNhB00HL/9BqwVkV9Q xxQg==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=kTP4kSXm; spf=pass (google.com: domain of m.glembo@gmail.com designates 2a00:1450:4864:20::635 as permitted sender) smtp.mailfrom=m.glembo@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com. [2a00:1450:4864:20::635]) by gmr-mx.google.com with ESMTPS id 38308e7fff4ca-2eeb34a5bcbsi294311fa.4.2024.07.09.04.15.24 for <swupdate@googlegroups.com> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 Jul 2024 04:15:24 -0700 (PDT) Received-SPF: pass (google.com: domain of m.glembo@gmail.com designates 2a00:1450:4864:20::635 as permitted sender) client-ip=2a00:1450:4864:20::635; Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-a77e5929033so364910566b.0 for <swupdate@googlegroups.com>; Tue, 09 Jul 2024 04:15:24 -0700 (PDT) X-Received: by 2002:a17:907:2d22:b0:a77:cb8b:7a2d with SMTP id a640c23a62f3a-a780b881cf1mr176920766b.49.1720523722869; Tue, 09 Jul 2024 04:15:22 -0700 (PDT) Received: from PC-2635.irisgmbh.local (dslb-002-203-138-100.002.203.pools.vodafone-ip.de. [2.203.138.100]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a780a6bc8adsm70739166b.14.2024.07.09.04.15.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jul 2024 04:15:22 -0700 (PDT) From: Michael Glembotzki <m.glembo@gmail.com> To: swupdate@googlegroups.com Cc: Michael Glembotzki <Michael.Glembotzki@iris-sensing.com> Subject: [swupdate] [V3][PATCH 13/21] mongoose: Replace deprecated mg_vcmp() with mg_strcmp() Date: Tue, 9 Jul 2024 13:08:49 +0200 Message-ID: <20240709111440.8215-14-Michael.Glembotzki@iris-sensing.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240709111440.8215-1-Michael.Glembotzki@iris-sensing.com> References: <20240709111440.8215-1-Michael.Glembotzki@iris-sensing.com> MIME-Version: 1.0 X-Original-Sender: m.glembo@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=kTP4kSXm; spf=pass (google.com: domain of m.glembo@gmail.com designates 2a00:1450:4864:20::635 as permitted sender) smtp.mailfrom=m.glembo@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: <swupdate.googlegroups.com> X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: <https://groups.google.com/group/swupdate/post>, <mailto:swupdate@googlegroups.com> List-Help: <https://groups.google.com/support/>, <mailto:swupdate+help@googlegroups.com> List-Archive: <https://groups.google.com/group/swupdate List-Subscribe: <https://groups.google.com/group/swupdate/subscribe>, <mailto:swupdate+subscribe@googlegroups.com> List-Unsubscribe: <mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>, <https://groups.google.com/group/swupdate/subscribe> |
Series |
mongoose: Update to version 7.14
|
expand
|
diff --git a/mongoose/mongoose_interface.c b/mongoose/mongoose_interface.c index 5a4e98fd..f0c58524 100644 --- a/mongoose/mongoose_interface.c +++ b/mongoose/mongoose_interface.c @@ -232,8 +232,8 @@ static int mg_check_digest_auth(struct mg_str method, struct mg_str uri, */ while (fgets(buf, sizeof(buf), fp) != NULL) { if (sscanf(buf, "%[^:]:%[^:]:%s", f_user, f_domain, f_ha1) == 3 && - mg_vcmp(&username, f_user) == 0 && - mg_vcmp(&auth_domain, f_domain) == 0) { + mg_strcmp(username, mg_str(f_user)) == 0 && + mg_strcmp(auth_domain, mg_str(f_domain)) == 0) { /* Username and domain matched, check the password */ mg_mkmd5resp(method, uri, mg_str_s(f_ha1), nonce, nc, cnonce, qop, exp_resp); return strncmp(response.buf, exp_resp, strlen(exp_resp)) == 0;
mongoose rev-id: b46bee0540c83c780ae9622ef18b9cc8a7b3ebab Signed-off-by: Michael Glembotzki <Michael.Glembotzki@iris-sensing.com> --- mongoose/mongoose_interface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)