mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2026-04-04 14:08:39 +00:00
fix: add missing deprecation guards
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
This commit is contained in:
parent
903b6aa87d
commit
5d164c4e23
4 changed files with 9 additions and 11 deletions
|
|
@ -663,7 +663,7 @@ usage:
|
|||
mbedtls_x509write_crt_set_version(&crt, opt.version);
|
||||
mbedtls_x509write_crt_set_md_alg(&crt, opt.md);
|
||||
|
||||
#if defined(MBEDTLS_BIGNUM_C)
|
||||
#if defined(MBEDTLS_BIGNUM_C) && !defined(MBEDTLS_DEPRECATED_REMOVED)
|
||||
ret = mbedtls_x509write_crt_set_serial(&crt, &serial);
|
||||
if (ret != 0) {
|
||||
mbedtls_strerror(ret, buf, sizeof(buf));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue