From 6e1855b00c1ca1f659486d171f7400c791a4f12f Mon Sep 17 00:00:00 2001 From: Maarten Billemont Date: Thu, 11 Feb 2021 15:07:59 -0500 Subject: [PATCH] fixup! Fix ANSI C11 support. --- platform-independent/c/core/src/mpw-algorithm_v0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform-independent/c/core/src/mpw-algorithm_v0.c b/platform-independent/c/core/src/mpw-algorithm_v0.c index 1d056dd6..6b08863a 100644 --- a/platform-independent/c/core/src/mpw-algorithm_v0.c +++ b/platform-independent/c/core/src/mpw-algorithm_v0.c @@ -169,7 +169,7 @@ const char *mpw_site_crypted_password_v0( if (strlen( cipherText ) % 4 != 0) { wrn( "Malformed encrypted state, not base64." ); // This can happen if state was stored in a non-encrypted form, eg. login in old mpsites. - return strdup( cipherText ); + return mpw_strdup( cipherText ); } // Base64-decode