get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/110979/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 110979,
    "url": "http://patches.dpdk.org/api/patches/110979/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220510150635.61975-1-heinrich.schuchardt@canonical.com/",
    "project": {
        "id": 1,
        "url": "http://patches.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": "<20220510150635.61975-1-heinrich.schuchardt@canonical.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220510150635.61975-1-heinrich.schuchardt@canonical.com",
    "date": "2022-05-10T15:06:35",
    "name": "[1/1] drivers: define OPENSSL_API_COMPAT",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "d4180e16b01f4456c113d4359111cdf46bc4eefc",
    "submitter": {
        "id": 2687,
        "url": "http://patches.dpdk.org/api/people/2687/?format=api",
        "name": "Heinrich Schuchardt",
        "email": "heinrich.schuchardt@canonical.com"
    },
    "delegate": {
        "id": 6690,
        "url": "http://patches.dpdk.org/api/users/6690/?format=api",
        "username": "akhil",
        "first_name": "akhil",
        "last_name": "goyal",
        "email": "gakhil@marvell.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20220510150635.61975-1-heinrich.schuchardt@canonical.com/mbox/",
    "series": [
        {
            "id": 22871,
            "url": "http://patches.dpdk.org/api/series/22871/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=22871",
            "date": "2022-05-10T15:06:35",
            "name": "[1/1] drivers: define OPENSSL_API_COMPAT",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/22871/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/110979/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/110979/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 62D07A0093;\n\tTue, 10 May 2022 17:06:47 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 56FFB4283D;\n\tTue, 10 May 2022 17:06:47 +0200 (CEST)",
            "from smtp-relay-canonical-1.canonical.com\n (smtp-relay-canonical-1.canonical.com [185.125.188.121])\n by mails.dpdk.org (Postfix) with ESMTP id 5A425410EE\n for <dev@dpdk.org>; Tue, 10 May 2022 17:06:46 +0200 (CEST)",
            "from workstation5.fritz.box\n (ip-062-143-094-109.um16.pools.vodafone-ip.de [62.143.94.109])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by smtp-relay-canonical-1.canonical.com (Postfix) with ESMTPSA id 223F93FF63;\n Tue, 10 May 2022 15:06:45 +0000 (UTC)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com;\n s=20210705; t=1652195205;\n bh=SnJ0UN2ZGqEDMkAHBfw3mbvhraqtxJxtd1Mo5pKtij8=;\n h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type;\n b=DqtpPkwlNV3U2ZVkiboA1VfffH41qDCUt5yGLwaBaogReBcYw+9WsIitlIwVs/xY+\n VwlajefSu9fMER3MyXxMe+2hxyommfDwWq53ifoyvz4dgE+v6xwHZ7PRWBKRUyuKkK\n evlOE2EeghlAuJw/13sUBQ+mDTw5Jb5tZ660/p4umoFUXxEP3g/mAgbOamfx7e1otD\n liALSgHkUc3q47YJwtqI87Es9+MO4zWNUOx52uFU06p18DwnZUZ45miWsILWlmPuLV\n 0Kb07B155Scj1znQes0hZDeKOj3bhQlGX2nEIQtN9+8x+IDaVQgEdL4xtL09ELiYMx\n AWfabtgXpu0lQ==",
        "From": "Heinrich Schuchardt <heinrich.schuchardt@canonical.com>",
        "To": "Fan Zhang <roy.fan.zhang@intel.com>",
        "Cc": "Chandubabu Namburu <chandu@amd.com>, dev@dpdk.org,\n Heinrich Schuchardt <heinrich.schuchardt@canonical.com>",
        "Subject": "[PATCH 1/1] drivers: define OPENSSL_API_COMPAT",
        "Date": "Tue, 10 May 2022 17:06:35 +0200",
        "Message-Id": "<20220510150635.61975-1-heinrich.schuchardt@canonical.com>",
        "X-Mailer": "git-send-email 2.34.1",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "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"
    },
    "content": "The API of the OpenSSL library has changed with version 3.0. This results\nin a lot of compiler warnings like\n\n    ../dpdk/drivers/crypto/ccp/ccp_crypto.c:182:9:\n    warning: ‘SHA256_Transform’ is deprecated:\n    Since OpenSSL 3.0 [-Wdeprecated-declarations]\n\nAs many Linux distributions still use elder OpenSSL libraries we cannot\nchange the used API now. Instead define OPENSSL_API_COMPAT to indicate\nthat we are using the OpenSSL 1.1.0 API.\n\nOPENSSL_API_COMPAT is introduced in *.c files and not in *.h files as some\n*.c files directly include OpenSSL headers.\n\nSigned-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>\n---\n drivers/crypto/ccp/ccp_crypto.c              | 2 ++\n drivers/crypto/openssl/rte_openssl_pmd.c     | 2 ++\n drivers/crypto/openssl/rte_openssl_pmd_ops.c | 2 ++\n drivers/crypto/qat/qat_sym.c                 | 2 ++\n drivers/crypto/qat/qat_sym_session.c         | 2 ++\n 5 files changed, 10 insertions(+)",
    "diff": "diff --git a/drivers/crypto/ccp/ccp_crypto.c b/drivers/crypto/ccp/ccp_crypto.c\nindex 4ed91a7436..4bab18323b 100644\n--- a/drivers/crypto/ccp/ccp_crypto.c\n+++ b/drivers/crypto/ccp/ccp_crypto.c\n@@ -2,6 +2,8 @@\n  *   Copyright(c) 2018 Advanced Micro Devices, Inc. All rights reserved.\n  */\n \n+#define OPENSSL_API_COMPAT 0x10100000L\n+\n #include <dirent.h>\n #include <fcntl.h>\n #include <stdio.h>\ndiff --git a/drivers/crypto/openssl/rte_openssl_pmd.c b/drivers/crypto/openssl/rte_openssl_pmd.c\nindex d80e1052e2..4f331af157 100644\n--- a/drivers/crypto/openssl/rte_openssl_pmd.c\n+++ b/drivers/crypto/openssl/rte_openssl_pmd.c\n@@ -2,6 +2,8 @@\n  * Copyright(c) 2016-2017 Intel Corporation\n  */\n \n+#define OPENSSL_API_COMPAT 0x10100000L\n+\n #include <rte_common.h>\n #include <rte_hexdump.h>\n #include <rte_cryptodev.h>\ndiff --git a/drivers/crypto/openssl/rte_openssl_pmd_ops.c b/drivers/crypto/openssl/rte_openssl_pmd_ops.c\nindex 1cb07794bd..87c395a836 100644\n--- a/drivers/crypto/openssl/rte_openssl_pmd_ops.c\n+++ b/drivers/crypto/openssl/rte_openssl_pmd_ops.c\n@@ -2,6 +2,8 @@\n  * Copyright(c) 2016-2017 Intel Corporation\n  */\n \n+#define OPENSSL_API_COMPAT 0x10100000L\n+\n #include <string.h>\n \n #include <rte_common.h>\ndiff --git a/drivers/crypto/qat/qat_sym.c b/drivers/crypto/qat/qat_sym.c\nindex ca8c9a8124..3a6c9dcc0a 100644\n--- a/drivers/crypto/qat/qat_sym.c\n+++ b/drivers/crypto/qat/qat_sym.c\n@@ -2,6 +2,8 @@\n  * Copyright(c) 2015-2022 Intel Corporation\n  */\n \n+#define OPENSSL_API_COMPAT 0x10100000L\n+\n #include <openssl/evp.h>\n \n #include <rte_mempool.h>\ndiff --git a/drivers/crypto/qat/qat_sym_session.c b/drivers/crypto/qat/qat_sym_session.c\nindex 9d6a19c0be..737a180810 100644\n--- a/drivers/crypto/qat/qat_sym_session.c\n+++ b/drivers/crypto/qat/qat_sym_session.c\n@@ -2,6 +2,8 @@\n  * Copyright(c) 2015-2022 Intel Corporation\n  */\n \n+#define OPENSSL_API_COMPAT 0x10100000L\n+\n #include <openssl/sha.h>\t/* Needed to calculate pre-compute values */\n #include <openssl/aes.h>\t/* Needed to calculate pre-compute values */\n #include <openssl/md5.h>\t/* Needed to calculate pre-compute values */\n",
    "prefixes": [
        "1/1"
    ]
}