Fix function name to fit conventions
diff --git a/library/ecdsa.c b/library/ecdsa.c
index 9e35da1..abac015 100644
--- a/library/ecdsa.c
+++ b/library/ecdsa.c
@@ -177,7 +177,7 @@
         rs_ctx->ecp.ops_done = 0;                                    \
                                                                      \
     /* set up our own sub-context if needed */                       \
-    if( mbedtls_ecp_restart_enabled() &&                             \
+    if( mbedtls_ecp_restart_is_enabled() &&                          \
         rs_ctx != NULL && rs_ctx->SUB == NULL )                      \
     {                                                                \
         rs_ctx->SUB = mbedtls_calloc( 1, sizeof( *rs_ctx->SUB ) );   \