From e451308fdc991df89fed5e77a570e9016e7c2e3f Mon Sep 17 00:00:00 2001 From: Maarten Billemont Date: Sun, 13 Aug 2017 11:35:15 -0400 Subject: [PATCH] Refactoring regression, use right algorithm version for siteKey. --- 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 d48eb9b8..2964a538 100644 --- a/core/c/mpw-algorithm.c +++ b/core/c/mpw-algorithm.c @@ -78,7 +78,7 @@ const char *mpw_siteResult( const MPResultType resultType, const char *resultParam, const MPAlgorithmVersion algorithmVersion) { - MPSiteKey siteKey = mpw_siteKey_v0( masterKey, siteName, siteCounter, keyPurpose, keyContext ); + MPSiteKey siteKey = mpw_siteKey( masterKey, siteName, siteCounter, keyPurpose, keyContext, algorithmVersion ); if (!siteKey) return NULL;