[*] C warnings
This commit is contained in:
parent
17b1a738ca
commit
a740e86a9a
@ -12,7 +12,6 @@
|
||||
int rsa_basic_export(unsigned char *out, unsigned long *outlen, const rsa_key *key, int flags)
|
||||
{
|
||||
unsigned long zero = 0;
|
||||
int err;
|
||||
LTC_ARGCHK(out != NULL);
|
||||
LTC_ARGCHK(outlen != NULL);
|
||||
LTC_ARGCHK(key != NULL);
|
||||
@ -44,8 +43,6 @@ int rsa_basic_export(unsigned char *out, unsigned long *outlen, const rsa_key *k
|
||||
else
|
||||
{
|
||||
/* public key */
|
||||
unsigned long tmplen, *ptmplen;
|
||||
unsigned char *tmp = NULL;
|
||||
|
||||
if (key->type != PK_PUBLIC)
|
||||
{
|
||||
@ -85,7 +82,7 @@ int rsa_pkcs8_export(unsigned char *out, unsigned long *outlen, const rsa_key *k
|
||||
else
|
||||
{
|
||||
unsigned long oid[16];
|
||||
unsigned long *oidReference;
|
||||
const char *oidReference;
|
||||
|
||||
ltc_asn1_list alg_seq[2];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user