summaryrefslogtreecommitdiff
path: root/extmod/modtls_mbedtls.c
diff options
context:
space:
mode:
authorAngus Gratton <angus@redyak.com.au>2025-09-24 11:17:51 +1000
committerDamien George <damien@micropython.org>2025-10-04 00:19:40 +1000
commit3ec8b9a77c598104d5caf02e0b6e45d9f5d139dd (patch)
tree11307d99ad7642b45c5ac256c812aadfb46086f1 /extmod/modtls_mbedtls.c
parentfb2b638ba0837b188deb0386270973261eb41fc0 (diff)
all: Replace legacy name with MicroPython and MPy as applicable.
With the aim of getting consistency, and removing the need to learn an additional term, replace uses of uPy/uPython with MPy/MicroPython. Rule of thumb was to use "MPy" abbreviation where "CPy" is used nearby, but the full word MicroPython otherwise. This work was funded through GitHub Sponsors. Signed-off-by: Angus Gratton <angus@redyak.com.au>
Diffstat (limited to 'extmod/modtls_mbedtls.c')
-rw-r--r--extmod/modtls_mbedtls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extmod/modtls_mbedtls.c b/extmod/modtls_mbedtls.c
index 586342573..e2f7254f7 100644
--- a/extmod/modtls_mbedtls.c
+++ b/extmod/modtls_mbedtls.c
@@ -304,7 +304,7 @@ static mp_obj_t ssl_context_make_new(const mp_obj_type_t *type_in, size_t n_args
psa_crypto_init();
#endif
- const byte seed[] = "upy";
+ const byte seed[] = "mpy";
int ret = mbedtls_ctr_drbg_seed(&self->ctr_drbg, mbedtls_entropy_func, &self->entropy, seed, sizeof(seed));
if (ret != 0) {
mbedtls_raise_error(ret);