diff options
Diffstat (limited to 'src/json/test_json.c')
-rw-r--r-- | src/json/test_json.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/json/test_json.c b/src/json/test_json.c index a334bf599..6f1ca565a 100644 --- a/src/json/test_json.c +++ b/src/json/test_json.c | |||
@@ -150,19 +150,19 @@ test_raw () | |||
150 | static int | 150 | static int |
151 | test_rsa () | 151 | test_rsa () |
152 | { | 152 | { |
153 | struct GNUNET_CRYPTO_rsa_PublicKey *pub; | 153 | struct GNUNET_CRYPTO_RsaPublicKey *pub; |
154 | struct GNUNET_CRYPTO_rsa_PublicKey *pub2; | 154 | struct GNUNET_CRYPTO_RsaPublicKey *pub2; |
155 | struct GNUNET_JSON_Specification pspec[] = { | 155 | struct GNUNET_JSON_Specification pspec[] = { |
156 | GNUNET_JSON_spec_rsa_public_key (NULL, &pub2), | 156 | GNUNET_JSON_spec_rsa_public_key (NULL, &pub2), |
157 | GNUNET_JSON_spec_end() | 157 | GNUNET_JSON_spec_end() |
158 | }; | 158 | }; |
159 | struct GNUNET_CRYPTO_rsa_Signature *sig; | 159 | struct GNUNET_CRYPTO_RsaSignature *sig; |
160 | struct GNUNET_CRYPTO_rsa_Signature *sig2; | 160 | struct GNUNET_CRYPTO_RsaSignature *sig2; |
161 | struct GNUNET_JSON_Specification sspec[] = { | 161 | struct GNUNET_JSON_Specification sspec[] = { |
162 | GNUNET_JSON_spec_rsa_signature (NULL, &sig2), | 162 | GNUNET_JSON_spec_rsa_signature (NULL, &sig2), |
163 | GNUNET_JSON_spec_end() | 163 | GNUNET_JSON_spec_end() |
164 | }; | 164 | }; |
165 | struct GNUNET_CRYPTO_rsa_PrivateKey *priv; | 165 | struct GNUNET_CRYPTO_RsaPrivateKey *priv; |
166 | char msg[] = "Hello"; | 166 | char msg[] = "Hello"; |
167 | json_t *jp; | 167 | json_t *jp; |
168 | json_t *js; | 168 | json_t *js; |