Fix function name to fit conventions
diff --git a/library/pk.c b/library/pk.c
index ce8dbb5..e0e8dba 100644
--- a/library/pk.c
+++ b/library/pk.c
@@ -239,7 +239,7 @@
#if defined(MBEDTLS_ECDSA_C) && defined(MBEDTLS_ECP_RESTARTABLE)
/* optimization: use non-restartable version if restart disabled */
if( rs_ctx != NULL &&
- mbedtls_ecp_restart_enabled() &&
+ mbedtls_ecp_restart_is_enabled() &&
ctx->pk_info->verify_rs_func != NULL )
{
int ret;
@@ -352,7 +352,7 @@
#if defined(MBEDTLS_ECDSA_C) && defined(MBEDTLS_ECP_RESTARTABLE)
/* optimization: use non-restartable version if restart disabled */
if( rs_ctx != NULL &&
- mbedtls_ecp_restart_enabled() &&
+ mbedtls_ecp_restart_is_enabled() &&
ctx->pk_info->sign_rs_func != NULL )
{
int ret;