mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-07 08:56:17 +08:00
Update gmapi_skf_ec.c
This commit is contained in:
@@ -620,10 +620,7 @@ int i2d_ECCCIPHERBLOB(ECCCIPHERBLOB *a, unsigned char **pp)
|
||||
return 0;
|
||||
}
|
||||
|
||||
if ((ret = i2d_SM2CiphertextValue(cv, pp)) <= 0) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
ret = i2d_SM2CiphertextValue(cv, pp));
|
||||
SM2CiphertextValue_free(cv);
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user