diff options
Diffstat (limited to 'src/util/rsa.c')
-rw-r--r-- | src/util/rsa.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/rsa.c b/src/util/rsa.c index 0b533615c..d85f3cc86 100644 --- a/src/util/rsa.c +++ b/src/util/rsa.c | |||
@@ -670,8 +670,8 @@ decode_public_key (const struct TALER_RSA_PublicKeyBinaryEncoded *publicKey) | |||
670 | 670 | ||
671 | 671 | ||
672 | /** | 672 | /** |
673 | * Verify signature on the given message. The size of the message should be less than | 673 | * Verify signature on the given message. The size of the message should be |
674 | * TALER_RSA_DATA_ENCODING_LENGTH (256) bytes. | 674 | * less than TALER_RSA_DATA_ENCODING_LENGTH (256) bytes. |
675 | * | 675 | * |
676 | * @param msg the message | 676 | * @param msg the message |
677 | * @param size the size of the message | 677 | * @param size the size of the message |
@@ -690,7 +690,7 @@ TALER_RSA_verify (const void *msg, size_t size, | |||
690 | gcry_mpi_t val; | 690 | gcry_mpi_t val; |
691 | gcry_sexp_t psexp; | 691 | gcry_sexp_t psexp; |
692 | size_t erroff; | 692 | size_t erroff; |
693 | int rc; | 693 | gcry_error_t rc; |
694 | 694 | ||
695 | GNUNET_assert (size <= TALER_RSA_DATA_ENCODING_LENGTH); | 695 | GNUNET_assert (size <= TALER_RSA_DATA_ENCODING_LENGTH); |
696 | if (size > TALER_RSA_DATA_ENCODING_LENGTH) | 696 | if (size > TALER_RSA_DATA_ENCODING_LENGTH) |