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;