Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Silence MBEDTLS_PSA_CRYPTO_CONFIG setting failure #76

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ronald-cron-arm
Copy link
Contributor

Companion PR of Mbed-TLS/mbedtls#9771

# The configuration option has been removed for 4.0. While the project and
# branch detection shell in shell work is not completed, just ignore the
# failure to set MBEDTLS_PSA_CRYPTO_CONFIG.
scripts/config.py set MBEDTLS_PSA_CRYPTO_CONFIG > /dev/null 2>&1 || true
Copy link
Contributor

@minosgalanakis minosgalanakis Nov 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we use set +e followed by a set -e so at least we don't silently hide the error?

set +e
scripts/config.py set MBEDTLS_PSA_CRYPTO_CONFIG > /dev/null 2>&1 || true
set -e

This is not a strong ask, more so of a question.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants