Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/79737/?format=api
http://patchwork.dpdk.org/api/patches/79737/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20201006074143.31691-3-olivier.matz@6wind.com/", "project": { "id": 1, "url": "http://patchwork.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20201006074143.31691-3-olivier.matz@6wind.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20201006074143.31691-3-olivier.matz@6wind.com", "date": "2020-10-06T07:41:42", "name": "[2/3] examples/fips_validation: ignore \\r in input files", "commit_ref": null, "pull_url": null, "state": "rejected", "archived": true, "hash": "5789b966158531592a12aefa8e081522eb3a67a6", "submitter": { "id": 8, "url": "http://patchwork.dpdk.org/api/people/8/?format=api", "name": "Olivier Matz", "email": "olivier.matz@6wind.com" }, "delegate": { "id": 6690, "url": "http://patchwork.dpdk.org/api/users/6690/?format=api", "username": "akhil", "first_name": "akhil", "last_name": "goyal", "email": "gakhil@marvell.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20201006074143.31691-3-olivier.matz@6wind.com/mbox/", "series": [ { "id": 12711, "url": "http://patchwork.dpdk.org/api/series/12711/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=12711", "date": "2020-10-06T07:41:43", "name": "examples/fips_validation: misc fixes", "version": 1, "mbox": "http://patchwork.dpdk.org/series/12711/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/79737/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/79737/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id E1E74A04BB;\n\tTue, 6 Oct 2020 09:42:57 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 87DD51B28D;\n\tTue, 6 Oct 2020 09:42:08 +0200 (CEST)", "from proxy.6wind.com (host.76.145.23.62.rev.coltfrance.com\n [62.23.145.76]) by dpdk.org (Postfix) with ESMTP id 6BF1B1E35;\n Tue, 6 Oct 2020 09:42:01 +0200 (CEST)", "from glumotte.dev.6wind.com. (unknown [10.16.0.195])\n by proxy.6wind.com (Postfix) with ESMTP id 3B52846B235;\n Tue, 6 Oct 2020 09:42:00 +0200 (CEST)" ], "From": "Olivier Matz <olivier.matz@6wind.com>", "To": "dev@dpdk.org", "Cc": "Marko Kovacevic <marko.kovacevic@intel.com>,\n Akhil Goyal <akhil.goyal@nxp.com>, Fan Zhang <roy.fan.zhang@intel.com>,\n Arek Kusztal <arkadiuszx.kusztal@intel.com>, stable@dpdk.org", "Date": "Tue, 6 Oct 2020 09:41:42 +0200", "Message-Id": "<20201006074143.31691-3-olivier.matz@6wind.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20201006074143.31691-1-olivier.matz@6wind.com>", "References": "<20201006074143.31691-1-olivier.matz@6wind.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH 2/3] examples/fips_validation: ignore \\r in input\n\tfiles", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Some test vectors contain '\\r' before '\\n' (see link). Ignore them.\n\nLink: https://www.openssl.org/docs/fips/testvectors-linux-2007-10-10.tar.gz\nFixes: 3d0fad56b74a (\"examples/fips_validation: add crypto FIPS application\")\nCc: stable@dpdk.org\n\nSigned-off-by: Olivier Matz <olivier.matz@6wind.com>\n---\n examples/fips_validation/fips_validation.c | 2 ++\n 1 file changed, 2 insertions(+)", "diff": "diff --git a/examples/fips_validation/fips_validation.c b/examples/fips_validation/fips_validation.c\nindex 13f763c9aa..858f581ba3 100644\n--- a/examples/fips_validation/fips_validation.c\n+++ b/examples/fips_validation/fips_validation.c\n@@ -33,6 +33,8 @@ get_file_line(void)\n \n \t\tif (loc >= MAX_LINE_CHAR - 1)\n \t\t\treturn -ENOMEM;\n+\t\tif (c == '\\r')\n+\t\t\tcontinue;\n \t\tif (c == '\\n')\n \t\t\tbreak;\n \t\tline[loc++] = c;\n", "prefixes": [ "2/3" ] }{ "id": 79737, "url": "