Skip to content

Commit 06e95ae

Browse files
committed
Rever md5 deprecation
1 parent 1721084 commit 06e95ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/keygen.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ bool generateKey(const char *tid, char *out) {
7373
bh[j] = (h[i] % 32 + 9) % 25 * 16 + (h[i + 1] % 32 + 9) % 25;
7474

7575
uint8_t md5sum[16];
76-
mbedtls_md5_ret(bh, bhl, md5sum);
76+
mbedtls_md5(bh, bhl, md5sum);
7777

7878
uint8_t key[16];
7979
mbedtls_md_context_t ctx;

0 commit comments

Comments
 (0)