From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id 3E5421FF161 for ; Tue, 27 Aug 2024 09:56:07 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 87E681EFA8; Tue, 27 Aug 2024 09:56:31 +0200 (CEST) From: Maximiliano Sandoval To: pbs-devel@lists.proxmox.com Date: Tue, 27 Aug 2024 09:56:26 +0200 Message-Id: <20240827075627.79819-1-m.sandoval@proxmox.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.107 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record T_SCC_BODY_TEXT_LINE -0.01 - URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [proxmox.com, crypt.rs] Subject: [pbs-devel] [PATCH proxmox 1/2] sys: crypt: use c_char for crypt ffi X-BeenThere: pbs-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Backup Server development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox Backup Server development discussion Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: pbs-devel-bounces@lists.proxmox.com Sender: "pbs-devel" QXMgcGVyCgogICAgbWFuIDMgY3J5cHQKCmBjcnlwdF9yYCdzIGBkYXRhYCBhcmd1bWVudCBoYXMg YW4gYG91dHB1dGAgY29uc2lzdGluZyBvZiBjaGFycy4KCiAgICBzdHJ1Y3QgY3J5cHRfZGF0YSB7 CiAgICAgICAgY2hhciBvdXRwdXRbQ1JZUFRfT1VUUFVUX1NJWkVdOwogICAgICAgIGNoYXIgc2V0 dGluZ1tDUllQVF9PVVRQVVRfU0laRV07CiAgICAgICAgY2hhciBpbnB1dFtDUllQVF9NQVhfUEFT U1BIUkFTRV9TSVpFXTsKICAgICAgICBjaGFyIGluaXRpYWxpemVkOwogICAgfTsKCmFuZCwgZnJv bQoKICAgIG1hbiAzIGNyeXB0X2dlbnNhbHRfcm4KCmNyeXB0X2dlbnNhbHRfcm4gaGFzIHNpZ25h dHVyZQoKICAgIGNoYXIgKgogICAgY3J5cHRfZ2Vuc2FsdF9ybihjb25zdCBjaGFyICogcHJlZml4 LCB1bnNpZ25lZCBsb25nIGNvdW50LCBjb25zdCBjaGFyICpyYnl0ZXMsIGludCBucmJ5dGVzLCBj aGFyICogb3V0cHV0LCBpbnQgb3V0cHV0X3NpemUpOwoKVG8gcmVmbGVjdCB0aGlzIHRoZSBvbmUg c2hvdWxkIHVzZSBgbGliYzpjX2NoYXJgIGluIGJvdGggY2FsbHMuCgpTaWduZWQtb2ZmLWJ5OiBN YXhpbWlsaWFubyBTYW5kb3ZhbCA8bS5zYW5kb3ZhbEBwcm94bW94LmNvbT4KLS0tCgpUaGlzIGNh bWUgdXAgYXQgWzFdLgoKWzFdIGh0dHBzOi8vZm9ydW0ucHJveG1veC5jb20vd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