We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f5cee9 commit 666ebe3Copy full SHA for 666ebe3
features/mbedtls/platform/src/platform_alt.c
@@ -42,7 +42,7 @@ void mbedtls_platform_teardown( mbedtls_platform_context *obsolete_ctx )
42
{
43
44
core_util_atomic_decr_u32( ( volatile uint32_t * )&ctx.reference_count, 1 );
45
- if( ctx.reference_count <= 0 )
+ if( ctx.reference_count < 1 )
46
47
/* call platform specific code to terminate crypto driver */
48
crypto_platform_terminate( &ctx.platform_impl_ctx );
0 commit comments