diff options
| author | danicampora <daniel@wipy.io> | 2015-10-16 10:12:54 +0200 |
|---|---|---|
| committer | danicampora <daniel@wipy.io> | 2015-10-17 23:21:44 +0200 |
| commit | fca3308cc376f2c1c66fa3cef82e30c55c9acca2 (patch) | |
| tree | 7a27e73859bdab80e5f98934335a381b4807618c /cc3200/mods/modussl.c | |
| parent | e19dfe1c320869de392070d97c98b55942f121d4 (diff) | |
cc3200: Improvements to terminal duplication.
Diffstat (limited to 'cc3200/mods/modussl.c')
| -rw-r--r-- | cc3200/mods/modussl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cc3200/mods/modussl.c b/cc3200/mods/modussl.c index 31005631b..a11d2b2ef 100644 --- a/cc3200/mods/modussl.c +++ b/cc3200/mods/modussl.c @@ -91,7 +91,7 @@ STATIC mp_obj_t mod_ssl_wrap_socket(mp_uint_t n_args, const mp_obj_t *pos_args, goto arg_error; } - // retrieve the file paths (with an 6 byte offset because to strip the '/flash' prefix) + // retrieve the file paths (with an 6 byte offset in order to strip it from the '/flash' prefix) const char *keyfile = (args[1].u_obj == mp_const_none) ? NULL : &(mp_obj_str_get_str(args[1].u_obj)[6]); const char *certfile = (args[2].u_obj == mp_const_none) ? NULL : &(mp_obj_str_get_str(args[2].u_obj)[6]); const char *cafile = (args[5].u_obj == mp_const_none || args[4].u_int != SSL_CERT_REQUIRED) ? |
