mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-08-10 07:53:57 +08:00
update
This commit is contained in:
@@ -69,6 +69,8 @@ int SM2_KAP_CTX_init(SM2_KAP_CTX *ctx,
|
||||
}
|
||||
|
||||
memset(ctx, 0, sizeof(*ctx));
|
||||
ctx->id_dgstlen = sizeof(ctx->id_dgst);
|
||||
ctx->remote_id_dgstlen = sizeof(ctx->remote_id_dgst);
|
||||
|
||||
ctx->id_dgst_md = EVP_sm3();
|
||||
ctx->kdf_md = EVP_sm3();
|
||||
|
||||
Reference in New Issue
Block a user