renamed 'public' to 'pub' to avoid conflict with c++ api

This commit is contained in:
TLINDEN
2013-11-29 20:01:42 +01:00
parent 2fdbf8e1be
commit a9b2796af2
10 changed files with 165 additions and 162 deletions

View File

@@ -74,7 +74,7 @@
*/
struct _pcp_key_t {
byte public[32];
byte pub[32];
byte secret[32];
byte edpub[32];
byte edsecret[64];
@@ -91,7 +91,7 @@ struct _pcp_key_t {
};
struct _pcp_pubkey_t {
byte public[32];
byte pub[32];
byte edpub[32];
char owner[255];
char mail[255];
@@ -159,4 +159,8 @@ void pcp_seckeyblob(void *blob, pcp_key_t *k);
void pcp_pubkeyblob(void *blob, pcp_pubkey_t *k);
void *pcp_keyblob(void *k, int type); // allocates blob
int pcp_sanitycheck_pub(pcp_pubkey_t *key);
int pcp_sanitycheck_key(pcp_key_t *key);
#endif // _HAVE_PCP_KEYPAIR_H