mirror of
https://github.com/deltachat/deltachat-core.git
synced 2025-10-05 10:39:27 +02:00
typo, remove dead code
This commit is contained in:
parent
80adb33762
commit
fe15eef863
3 changed files with 5 additions and 1 deletions
|
@ -113,8 +113,10 @@ void pgp_fast_create_rsa_seckey(pgp_seckey_t *, time_t, BIGNUM *,
|
||||||
BIGNUM *, BIGNUM *);
|
BIGNUM *, BIGNUM *);
|
||||||
unsigned encode_m_buf(const uint8_t *, size_t, const pgp_pubkey_t *,
|
unsigned encode_m_buf(const uint8_t *, size_t, const pgp_pubkey_t *,
|
||||||
uint8_t *);
|
uint8_t *);
|
||||||
|
#if 0 //////
|
||||||
unsigned pgp_fileread_litdata(const char *, const pgp_litdata_enum,
|
unsigned pgp_fileread_litdata(const char *, const pgp_litdata_enum,
|
||||||
pgp_output_t *);
|
pgp_output_t *);
|
||||||
|
#endif //////
|
||||||
unsigned pgp_write_symm_enc_data(const uint8_t *, const int, pgp_symm_alg_t, const uint8_t* key,
|
unsigned pgp_write_symm_enc_data(const uint8_t *, const int, pgp_symm_alg_t, const uint8_t* key,
|
||||||
pgp_output_t *);
|
pgp_output_t *);
|
||||||
|
|
||||||
|
|
|
@ -1247,6 +1247,7 @@ pgp_write_litdata(pgp_output_t *output,
|
||||||
\return 1 if OK; else 0
|
\return 1 if OK; else 0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if 0 //////
|
||||||
unsigned
|
unsigned
|
||||||
pgp_fileread_litdata(const char *filename,
|
pgp_fileread_litdata(const char *filename,
|
||||||
const pgp_litdata_enum type,
|
const pgp_litdata_enum type,
|
||||||
|
@ -1266,6 +1267,7 @@ pgp_fileread_litdata(const char *filename,
|
||||||
pgp_memory_free(mem);
|
pgp_memory_free(mem);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
#endif //////
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\ingroup HighLevel_General
|
\ingroup HighLevel_General
|
||||||
|
|
|
@ -935,7 +935,7 @@ pgp_mem_data(const pgp_memory_t *mem)
|
||||||
return mem->buf;
|
return mem->buf;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* read a gile into an pgp_memory_t */
|
/* read a file into an pgp_memory_t */
|
||||||
int
|
int
|
||||||
pgp_mem_readfile(pgp_memory_t *mem, const char *f)
|
pgp_mem_readfile(pgp_memory_t *mem, const char *f)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue