mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-03-20 19:21:09 +01:00
Revert change to mbedtls_pk_{sign,verify}_restartable and replace with ext version
Signed-off-by: Ben Taylor <ben.taylor@linaro.org>
This commit is contained in:
@@ -571,9 +571,8 @@ int mbedtls_x509write_crt_der(mbedtls_x509write_cert *ctx,
|
||||
}
|
||||
|
||||
|
||||
if ((ret = mbedtls_pk_sign_restartable(ctx->issuer_key, ctx->md_alg,
|
||||
hash, hash_length, sig, sizeof(sig), &sig_len,
|
||||
NULL)) != 0) {
|
||||
if ((ret = mbedtls_pk_sign_ext((mbedtls_pk_sigalg_t) pk_alg, ctx->issuer_key, ctx->md_alg,
|
||||
hash, hash_length, sig, sizeof(sig), &sig_len)) != 0) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user