Add forgotten ecdsa_free() in ecdsa example

This commit is contained in:
Manuel Pégourié-Gonnard 2013-08-14 21:36:01 +02:00
parent e09631b7c4
commit bf3109fd41

View File

@ -189,6 +189,9 @@ exit:
fflush( stdout ); getchar(); fflush( stdout ); getchar();
#endif #endif
ecdsa_free( &ctx_verify );
ecdsa_free( &ctx_sign );
return( ret ); return( ret );
} }
#endif /* POLARSSL_BIGNUM_C && POLARSSL_ECDSA_C && #endif /* POLARSSL_BIGNUM_C && POLARSSL_ECDSA_C &&