mirror of
https://github.com/espruino/Espruino.git
synced 2025-12-08 19:06:15 +00:00
Added more helpful error messages for TLS
This commit is contained in:
parent
9274c88f38
commit
d541b87bd1
@ -1,5 +1,6 @@
|
||||
1v90 : Fixes for Promise.all (passing in non-promises, pre-resolved, and ordering) (fix #976)
|
||||
Fix arrow function bug when parsing multiple arguments
|
||||
Added more helpful error messages for TLS
|
||||
|
||||
1v89 : Allow entering of multi-line Templated Literals on the command-line (fix #970)
|
||||
Make lexer fail when parsing non-templated strings with newlines in
|
||||
|
||||
@ -70,6 +70,8 @@ const char *jswrap_crypto_error_to_str(int err) {
|
||||
case MBEDTLS_ERR_X509_INVALID_FORMAT:
|
||||
case MBEDTLS_ERR_PK_KEY_INVALID_FORMAT:
|
||||
return "Invalid format";
|
||||
case MBEDTLS_ERR_SSL_PK_TYPE_MISMATCH:
|
||||
return "Public key type mismatch";
|
||||
case MBEDTLS_ERR_X509_ALLOC_FAILED:
|
||||
case MBEDTLS_ERR_SSL_ALLOC_FAILED:
|
||||
case MBEDTLS_ERR_PK_ALLOC_FAILED:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user