aboutsummaryrefslogtreecommitdiff
path: root/src/json/json_helper.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-03-21 13:41:12 +0000
committerChristian Grothoff <christian@grothoff.org>2016-03-21 13:41:12 +0000
commit1733de7305720882b8745e82b51b6ff47c10099e (patch)
treedf9199b0e8670b089ead17186b191b80629bda8f /src/json/json_helper.c
parent60de5f48cbfc3868570284e91415ca7e06c390e1 (diff)
downloadgnunet-1733de7305720882b8745e82b51b6ff47c10099e.tar.gz
gnunet-1733de7305720882b8745e82b51b6ff47c10099e.zip
fixing symbol naming and coding convention issues
Diffstat (limited to 'src/json/json_helper.c')
-rw-r--r--src/json/json_helper.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/json/json_helper.c b/src/json/json_helper.c
index cf84ae997..7265dfa66 100644
--- a/src/json/json_helper.c
+++ b/src/json/json_helper.c
@@ -690,7 +690,7 @@ parse_rsa_public_key (void *cls,
690 json_t *root, 690 json_t *root,
691 struct GNUNET_JSON_Specification *spec) 691 struct GNUNET_JSON_Specification *spec)
692{ 692{
693 struct GNUNET_CRYPTO_rsa_PublicKey **pk = spec->ptr; 693 struct GNUNET_CRYPTO_RsaPublicKey **pk = spec->ptr;
694 const char *enc; 694 const char *enc;
695 char *buf; 695 char *buf;
696 size_t len; 696 size_t len;
@@ -736,7 +736,7 @@ static void
736clean_rsa_public_key (void *cls, 736clean_rsa_public_key (void *cls,
737 struct GNUNET_JSON_Specification *spec) 737 struct GNUNET_JSON_Specification *spec)
738{ 738{
739 struct GNUNET_CRYPTO_rsa_PublicKey **pk = spec->ptr; 739 struct GNUNET_CRYPTO_RsaPublicKey **pk = spec->ptr;
740 740
741 if (NULL != *pk) 741 if (NULL != *pk)
742 { 742 {
@@ -754,7 +754,7 @@ clean_rsa_public_key (void *cls,
754 */ 754 */
755struct GNUNET_JSON_Specification 755struct GNUNET_JSON_Specification
756GNUNET_JSON_spec_rsa_public_key (const char *name, 756GNUNET_JSON_spec_rsa_public_key (const char *name,
757 struct GNUNET_CRYPTO_rsa_PublicKey **pk) 757 struct GNUNET_CRYPTO_RsaPublicKey **pk)
758{ 758{
759 struct GNUNET_JSON_Specification ret = { 759 struct GNUNET_JSON_Specification ret = {
760 .parser = &parse_rsa_public_key, 760 .parser = &parse_rsa_public_key,
@@ -782,7 +782,7 @@ parse_rsa_signature (void *cls,
782 json_t *root, 782 json_t *root,
783 struct GNUNET_JSON_Specification *spec) 783 struct GNUNET_JSON_Specification *spec)
784{ 784{
785 struct GNUNET_CRYPTO_rsa_Signature **sig = spec->ptr; 785 struct GNUNET_CRYPTO_RsaSignature **sig = spec->ptr;
786 size_t size; 786 size_t size;
787 const char *str; 787 const char *str;
788 int res; 788 int res;
@@ -828,7 +828,7 @@ static void
828clean_rsa_signature (void *cls, 828clean_rsa_signature (void *cls,
829 struct GNUNET_JSON_Specification *spec) 829 struct GNUNET_JSON_Specification *spec)
830{ 830{
831 struct GNUNET_CRYPTO_rsa_Signature **sig = spec->ptr; 831 struct GNUNET_CRYPTO_RsaSignature **sig = spec->ptr;
832 832
833 if (NULL != *sig) 833 if (NULL != *sig)
834 { 834 {
@@ -846,7 +846,7 @@ clean_rsa_signature (void *cls,
846 */ 846 */
847struct GNUNET_JSON_Specification 847struct GNUNET_JSON_Specification
848GNUNET_JSON_spec_rsa_signature (const char *name, 848GNUNET_JSON_spec_rsa_signature (const char *name,
849 struct GNUNET_CRYPTO_rsa_Signature **sig) 849 struct GNUNET_CRYPTO_RsaSignature **sig)
850{ 850{
851 struct GNUNET_JSON_Specification ret = { 851 struct GNUNET_JSON_Specification ret = {
852 .parser = &parse_rsa_signature, 852 .parser = &parse_rsa_signature,