]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - engines/ccgost/gost_pmeth.c
Adjust all accesses to EVP_MD_CTX to use accessor functions.
[thirdparty/openssl.git] / engines / ccgost / gost_pmeth.c
index e70e2979db77975b345f025d769528cacacb6f49..f0f331e5cc0beee9a83165567a11da3e1d4b167f 100644 (file)
@@ -388,7 +388,8 @@ static int pkey_gost_mac_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2)
             } else {
                 key = &(data->key);
             }
-            return mctx->digest->md_ctrl(mctx, EVP_MD_CTRL_SET_KEY, 32, key);
+            return EVP_MD_CTX_md(mctx)->md_ctrl(mctx, EVP_MD_CTRL_SET_KEY,
+                                                32, key);
         }
     }
     return -2;