Remove warnings

This commit is contained in:
Zhi Guan
2022-10-12 15:26:16 +08:00
parent 47639d439e
commit d17c7d33d5
2 changed files with 0 additions and 4 deletions

View File

@@ -241,7 +241,6 @@ int sm2_verify(const SM2_KEY *key, const uint8_t dgst[32], const uint8_t *sig, s
int ret;
SM2_SIGNATURE signature;
const uint8_t *p;
size_t len;
if (!key
|| !dgst
@@ -615,7 +614,6 @@ int sm2_ciphertext_print(FILE *fp, int fmt, int ind, const char *label, const ui
{
uint8_t buf[512] = {0};
SM2_CIPHERTEXT *c = (SM2_CIPHERTEXT *)buf;
int i;
if (sm2_ciphertext_from_der(c, &a, &alen) != 1
|| asn1_length_is_zero(alen) != 1) {