Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6659977rwb; Tue, 15 Nov 2022 01:39:49 -0800 (PST) X-Google-Smtp-Source: AA0mqf6GhbBs2BJr20345u+VF95Ifup7s/qjBCHy/3lz2TKm/O4XurexmypJXepGgHH2CNRNPO+O X-Received: by 2002:a17:906:48d7:b0:78d:cdce:bc52 with SMTP id d23-20020a17090648d700b0078dcdcebc52mr13418118ejt.469.1668505189295; Tue, 15 Nov 2022 01:39:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668505189; cv=none; d=google.com; s=arc-20160816; b=t+JT0UTDwV2nkw5HqxKdsk+QCWAsv8CSsLvoUnYL8b6jRCozBgiuvv5YB3L+bTfqT0 gmQS00da19Yv5srnW2auf6zA6uWP6K5FSyFVEJ6nwRdjOGC+wAi+RwdmZ26h5M2WpB0X hVGZbZFDo8NPxDMLU3RHmflVG4IDgRPmjAkCgAE3KxSTBb2AM7vhS7gmYt2QNDDwSbHG Ren7GL4duVp9Ikh3Q8zWo/d6ufG9lIPLGX/u9rLjQ614ACCQbWJqd6ZCSFLzeUYJX1mk m+IAM/Cp+pGruDPl6LxNmizmxR/tdGKVrt8gX6Ay+GUiChzPQ7ooQSBOdKZP8p5weUxs a94Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=WJqyeRLJJxT3hdAJTJ8bpBUYWI+9s5LG24kdyWSCsoY=; b=v+HYXjFwBJbarSnV87LGnnCBERzc/qRbQss2fyrOzQ3ySQjF4SzcA3s/Pu0Rr0uCK+ ggHyAM7hYjlNt/++lbHBMP5kkEvP9Is3SMlPjvFJIS+0/L5HxfIk5Bwm1vo9AghDq5Xh to7BX56KugFS2T3P+TuD6YbqAjCpTrzHljC6DapRT3dtM27N2qtOMwymQFGej9H86q07 ae7Zc+zSLyiP2O56n1r9X1Or5NX3OxJrPwX4TuZt0GwP8gPAVe6AAiwsB8ybsvWcfyaJ 4D804On0oeisDH+zuy02v2gKwPLT+Z3JBSm5oUvGxiaD4i5/MrVfFqKYeN0dQxelo84h MYXA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nd32-20020a17090762a000b007addff99f09si10218001ejc.1004.2022.11.15.01.39.15; Tue, 15 Nov 2022 01:39:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229937AbiKOJg3 (ORCPT + 99 others); Tue, 15 Nov 2022 04:36:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229644AbiKOJg2 (ORCPT ); Tue, 15 Nov 2022 04:36:28 -0500 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 186D313DCF; Tue, 15 Nov 2022 01:36:28 -0800 (PST) Received: from canpemm500009.china.huawei.com (unknown [172.30.72.54]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4NBLdx3c0JzmVwj; Tue, 15 Nov 2022 17:36:05 +0800 (CST) Received: from huawei.com (10.67.174.191) by canpemm500009.china.huawei.com (7.192.105.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Tue, 15 Nov 2022 17:36:26 +0800 From: Li Hua To: , , , CC: , , , , , Subject: [PATCH] KEYS: asymmetric: Fix build errors as symbol undefined Date: Tue, 15 Nov 2022 18:05:12 +0800 Message-ID: <20221115100512.20147-1-hucool.lihua@huawei.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.174.191] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To canpemm500009.china.huawei.com (7.192.105.203) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org pkcs7_supply_detached_data is called by x509_key_parser module, but not exported: ERROR: modpost: "pkcs7_supply_detached_data" [crypto/asymmetric_keys/x509_key_parser.ko] undefined! Fixes: cfc411e7fff3 ("Move certificate handling to its own directory") Signed-off-by: Li Hua --- crypto/asymmetric_keys/pkcs7_verify.c | 1 + 1 file changed, 1 insertion(+) diff --git a/crypto/asymmetric_keys/pkcs7_verify.c b/crypto/asymmetric_keys/pkcs7_verify.c index f6321c785714..4fa769c4bcdb 100644 --- a/crypto/asymmetric_keys/pkcs7_verify.c +++ b/crypto/asymmetric_keys/pkcs7_verify.c @@ -485,3 +485,4 @@ int pkcs7_supply_detached_data(struct pkcs7_message *pkcs7, pkcs7->data_len = datalen; return 0; } +EXPORT_SYMBOL_GPL(pkcs7_supply_detached_data); -- 2.17.1