Skip to content

Commit

Permalink
[#196] Fix Enum String Max to appropriate value
Browse files Browse the repository at this point in the history
  • Loading branch information
rjbrown6 committed Mar 26, 2024
1 parent 8e163bb commit bd84fd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/crypto_error.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ char* Crypto_Get_Error_Code_Enum_String(int32_t crypto_error_code)
}
else if(crypto_error_code <= 0) // Cryptolib Core Error Codes
{
return_string = Crypto_Get_Crypto_Error_Code_String(crypto_error_code, -45, crypto_enum_errlist_core[(crypto_error_code * (-1))]);
return_string = Crypto_Get_Crypto_Error_Code_String(crypto_error_code, -51, crypto_enum_errlist_core[(crypto_error_code * (-1))]);
}
return return_string;
}

0 comments on commit bd84fd2

Please sign in to comment.