mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-08-07 12:33:39 +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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((ret = i2d_SM2CiphertextValue(cv, pp)) <= 0) {
|
ret = i2d_SM2CiphertextValue(cv, pp));
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
SM2CiphertextValue_free(cv);
|
SM2CiphertextValue_free(cv);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user