fix warnings

This commit is contained in:
Zhi Guan
2019-08-13 16:56:23 +08:00
parent a64ac54993
commit cbf7cbb40d
13 changed files with 5155 additions and 5673 deletions

View File

@@ -205,7 +205,7 @@ int SM9_compute_share_key_A(int type,
}
/* get IDA */
IDA = ASN1_STRING_get0_data(skA->identity);
IDA = (char *)ASN1_STRING_get0_data(skA->identity);
IDAlen = ASN1_STRING_length(skA->identity);
/* malloc */
@@ -379,7 +379,7 @@ int SM9_compute_share_key_B(int type,
}
/* get IDB */
IDB = ASN1_STRING_get0_data(skB->identity);
IDB = (char *)ASN1_STRING_get0_data(skB->identity);
IDBlen = ASN1_STRING_length(skB->identity);
/* malloc */