From 888338e1073cfc52b9e52ae67c35052bf2ee8c99 Mon Sep 17 00:00:00 2001 From: Maarten Billemont Date: Sat, 23 Sep 2017 19:09:19 -0400 Subject: [PATCH] Fix siteKey algorithm for siteState. --- core/c/mpw-algorithm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/c/mpw-algorithm.c b/core/c/mpw-algorithm.c index 76f62a3a..96e4c78f 100644 --- a/core/c/mpw-algorithm.c +++ b/core/c/mpw-algorithm.c @@ -169,7 +169,7 @@ const char *mpw_siteState( if (resultParam && !strlen( resultParam )) resultParam = NULL; - MPSiteKey siteKey = mpw_siteKey_v0( masterKey, siteName, siteCounter, keyPurpose, keyContext ); + MPSiteKey siteKey = mpw_siteKey( masterKey, siteName, siteCounter, keyPurpose, keyContext, algorithmVersion ); if (!siteKey) return NULL;