/home/lhuang04/upstream/library/ssl_tls.c:7320:5: error: ‘MBEDTLS_TLS13_SIG_IGNATURE_RSA_PSS_RSAE_SHA256’ undeclared here (not in a function)
MBEDTLS_TLS13_SIG_IGNATURE_RSA_PSS_RSAE_SHA256,
^
make[2]: *** [library/CMakeFiles/mbedtls.dir/ssl_tls.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Test Plan:
Turn on MBEDTLS_X509_RSASSA_PSS_SUPPORT by the following patch and build
diff --git a/include/mbedtls/mbedtls_config.h b/include/mbedtls/mbedtls_config.h
index ffaa4e3ea..58b54fd18 100644
--- a/include/mbedtls/mbedtls_config.h
+++ b/include/mbedtls/mbedtls_config.h
@@ -1882,7 +1882,7 @@
*
* Comment this macro to disallow using RSASSA-PSS in certificates.
*/
-//#define MBEDTLS_X509_RSASSA_PSS_SUPPORT
+#define MBEDTLS_X509_RSASSA_PSS_SUPPORT
/* \} name SECTION: mbed TLS feature support */
/**
@@ -2757,7 +2757,7 @@
*
* Requires: MBEDTLS_BIGNUM_C, MBEDTLS_OID_C
*/
-//#define MBEDTLS_RSA_C
+#define MBEDTLS_RSA_C
/**
* \def MBEDTLS_SHA1_C
Reviewers:
Subscribers:
Tasks:
Tags:
Notes:
Pull requests cannot be accepted until the PR follows the contributing guidelines. In particular, each commit must have at least one Signed-off-by: line from the committer to certify that the contribution is made under the terms of the Developer Certificate of Origin.
This is just a template, so feel free to use/remove the unnecessary things
Description
A few sentences describing the overall goals of the pull request's commits.
Status
READY/IN DEVELOPMENT/HOLD
Requires Backporting
When there is a bug fix, it should be backported to all maintained and supported branches.
Changes do not have to be backported if:
This PR is a new feature\enhancement
This PR contains changes in the API. If this is true, and there is a need for the fix to be backported, the fix should be handled differently in the legacy branch
Yes | NO
Which branch?
Migrations
If there is any API change, what's the incentive and logic for it.
YES | NO
Additional comments
Any additional information that could be of interest
Todos
[ ] Tests
[ ] Documentation
[ ] Changelog updated
[ ] Backported
Steps to test or reproduce
Outline the steps to test or reproduce the PR here.
Summary: Fix the following compiler error.
Test Plan: Turn on MBEDTLS_X509_RSASSA_PSS_SUPPORT by the following patch and build
Reviewers:
Subscribers:
Tasks:
Tags:
Notes:
Signed-off-by:
line from the committer to certify that the contribution is made under the terms of the Developer Certificate of Origin.Description
A few sentences describing the overall goals of the pull request's commits.
Status
READY/IN DEVELOPMENT/HOLD
Requires Backporting
When there is a bug fix, it should be backported to all maintained and supported branches. Changes do not have to be backported if:
Yes | NO
Which branch?
Migrations
If there is any API change, what's the incentive and logic for it.
YES | NO
Additional comments
Any additional information that could be of interest
Todos
Steps to test or reproduce
Outline the steps to test or reproduce the PR here.