aboutsummaryrefslogtreecommitdiff
path: root/src/util/crypto_rsa.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-03-04 14:09:57 +0000
committerChristian Grothoff <christian@grothoff.org>2012-03-04 14:09:57 +0000
commit87534f72154e9bc859919afaebbc7321dc4fda87 (patch)
tree4dbc81d20e9ec45992e724133e1dd772b281fb9e /src/util/crypto_rsa.c
parentfc646798891d075673e2ad8f2011c1e15160b6c1 (diff)
downloadgnunet-87534f72154e9bc859919afaebbc7321dc4fda87.tar.gz
gnunet-87534f72154e9bc859919afaebbc7321dc4fda87.zip
-renaming
Diffstat (limited to 'src/util/crypto_rsa.c')
-rw-r--r--src/util/crypto_rsa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/crypto_rsa.c b/src/util/crypto_rsa.c
index 89351f280..9044c3019 100644
--- a/src/util/crypto_rsa.c
+++ b/src/util/crypto_rsa.c
@@ -231,7 +231,7 @@ GNUNET_CRYPTO_rsa_public_key_to_string (struct GNUNET_CRYPTO_RsaPublicKeyBinaryE
231 keylen += 5 - keylen % 5; 231 keylen += 5 - keylen % 5;
232 keylen /= 5; 232 keylen /= 5;
233 pubkeybuf = GNUNET_malloc (keylen + 1); 233 pubkeybuf = GNUNET_malloc (keylen + 1);
234 end = GNUNET_CRYPTO_data_to_string ((unsigned char *) &pub, 234 end = GNUNET_STRINGS_data_to_string ((unsigned char *) &pub,
235 sizeof (struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded), 235 sizeof (struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded),
236 pubkeybuf, 236 pubkeybuf,
237 keylen); 237 keylen);
@@ -266,7 +266,7 @@ GNUNET_CRYPTO_rsa_public_key_from_string (const char *enc,
266 if (enclen != keylen) 266 if (enclen != keylen)
267 return GNUNET_SYSERR; 267 return GNUNET_SYSERR;
268 268
269 if (GNUNET_OK != GNUNET_CRYPTO_string_to_data (enc, enclen, 269 if (GNUNET_OK != GNUNET_STRINGS_string_to_data (enc, enclen,
270 (unsigned char*) pub, 270 (unsigned char*) pub,
271 sizeof (struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded))) 271 sizeof (struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded)))
272 return GNUNET_SYSERR; 272 return GNUNET_SYSERR;