Update gmapi_skf_ec.c

This commit is contained in:
Simon
2018-11-24 20:22:34 +08:00
committed by GitHub
parent 38201e1161
commit 339c2a0bb2

View File

@@ -621,7 +621,6 @@ int i2d_ECCCIPHERBLOB(ECCCIPHERBLOB *a, unsigned char **pp)
}
if ((ret = i2d_SM2CiphertextValue(cv, pp)) <= 0) {
GMAPIerr(GMAPI_F_I2D_SM2CIPHERTEXTVALUE, GMAPI_R_INVALID_SKF_CIPHERTEXT);
return 0;
}