remove useless initialization
This commit is contained in:
parent
c23f4699fb
commit
75d53696c2
@ -29,7 +29,7 @@ int ec25519_import_pkcs8(const unsigned char *in, unsigned long inlen,
|
||||
enum ltc_oid_id id, sk_to_pk fp,
|
||||
curve25519_key *key)
|
||||
{
|
||||
int err = CRYPT_INVALID_ARG;
|
||||
int err;
|
||||
ltc_asn1_list *l = NULL;
|
||||
const char *oid;
|
||||
ltc_asn1_list alg_id[1];
|
||||
|
@ -31,7 +31,7 @@ static int _ed25519_decode(const unsigned char *in, unsigned long inlen, curve25
|
||||
*/
|
||||
int ed25519_import_x509(const unsigned char *in, unsigned long inlen, curve25519_key *key)
|
||||
{
|
||||
int err = CRYPT_INVALID_ARG;
|
||||
int err;
|
||||
|
||||
LTC_ARGCHK(in != NULL);
|
||||
LTC_ARGCHK(key != NULL);
|
||||
|
@ -31,7 +31,7 @@ static int _x25519_decode(const unsigned char *in, unsigned long inlen, curve255
|
||||
*/
|
||||
int x25519_import_x509(const unsigned char *in, unsigned long inlen, curve25519_key *key)
|
||||
{
|
||||
int err = CRYPT_INVALID_ARG;
|
||||
int err;
|
||||
|
||||
LTC_ARGCHK(in != NULL);
|
||||
LTC_ARGCHK(key != NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user