- Updated for latest GCM error
This commit is contained in:
parent
fc5183cf5d
commit
d8ef167833
2 changed files with 3 additions and 1 deletions
|
@ -447,6 +447,8 @@ void error_strerror( int ret, char *buf, size_t buflen )
|
|||
#if defined(POLARSSL_GCM_C)
|
||||
if( use_ret == -(POLARSSL_ERR_GCM_AUTH_FAILED) )
|
||||
snprintf( buf, buflen, "GCM - Authenticated decryption failed" );
|
||||
if( use_ret == -(POLARSSL_ERR_GCM_BAD_INPUT) )
|
||||
snprintf( buf, buflen, "GCM - Bad input parameters to function" );
|
||||
#endif /* POLARSSL_GCM_C */
|
||||
|
||||
#if defined(POLARSSL_MD2_C)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue