diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-10-31 13:23:08 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-10-31 13:23:08 +0100 |
commit | a901264efb50a61f096a4966a0cb5789690706f0 (patch) | |
tree | 1c0309c17f1bd5389fb7f069b96e0459e8b1d3b2 | |
parent | b658d1a112ba6e20f7affeea225ef438166defc0 (diff) | |
download | gnunet-a901264efb50a61f096a4966a0cb5789690706f0.tar.gz gnunet-a901264efb50a61f096a4966a0cb5789690706f0.zip |
add missing const
-rw-r--r-- | src/include/gnunet_crypto_lib.h | 2 | ||||
-rw-r--r-- | src/util/crypto_rsa.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/include/gnunet_crypto_lib.h b/src/include/gnunet_crypto_lib.h index 07cade0e3..5dc5b60d7 100644 --- a/src/include/gnunet_crypto_lib.h +++ b/src/include/gnunet_crypto_lib.h | |||
@@ -2105,7 +2105,7 @@ GNUNET_CRYPTO_rsa_signature_dup (const struct GNUNET_CRYPTO_RsaSignature *sig); | |||
2105 | * @return unblinded signature on success, NULL if RSA key is bad or malicious. | 2105 | * @return unblinded signature on success, NULL if RSA key is bad or malicious. |
2106 | */ | 2106 | */ |
2107 | struct GNUNET_CRYPTO_RsaSignature * | 2107 | struct GNUNET_CRYPTO_RsaSignature * |
2108 | GNUNET_CRYPTO_rsa_unblind (struct GNUNET_CRYPTO_RsaSignature *sig, | 2108 | GNUNET_CRYPTO_rsa_unblind (const struct GNUNET_CRYPTO_RsaSignature *sig, |
2109 | const struct GNUNET_CRYPTO_RsaBlindingKeySecret *bks, | 2109 | const struct GNUNET_CRYPTO_RsaBlindingKeySecret *bks, |
2110 | struct GNUNET_CRYPTO_RsaPublicKey *pkey); | 2110 | struct GNUNET_CRYPTO_RsaPublicKey *pkey); |
2111 | 2111 | ||
diff --git a/src/util/crypto_rsa.c b/src/util/crypto_rsa.c index 7a108c21b..a985d8e59 100644 --- a/src/util/crypto_rsa.c +++ b/src/util/crypto_rsa.c | |||
@@ -1046,7 +1046,7 @@ GNUNET_CRYPTO_rsa_public_key_dup (const struct GNUNET_CRYPTO_RsaPublicKey *key) | |||
1046 | * @return unblinded signature on success, NULL if RSA key is bad or malicious. | 1046 | * @return unblinded signature on success, NULL if RSA key is bad or malicious. |
1047 | */ | 1047 | */ |
1048 | struct GNUNET_CRYPTO_RsaSignature * | 1048 | struct GNUNET_CRYPTO_RsaSignature * |
1049 | GNUNET_CRYPTO_rsa_unblind (struct GNUNET_CRYPTO_RsaSignature *sig, | 1049 | GNUNET_CRYPTO_rsa_unblind (const struct GNUNET_CRYPTO_RsaSignature *sig, |
1050 | const struct GNUNET_CRYPTO_RsaBlindingKeySecret *bks, | 1050 | const struct GNUNET_CRYPTO_RsaBlindingKeySecret *bks, |
1051 | struct GNUNET_CRYPTO_RsaPublicKey *pkey) | 1051 | struct GNUNET_CRYPTO_RsaPublicKey *pkey) |
1052 | { | 1052 | { |