diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-06-03 12:38:18 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-06-03 12:38:18 +0000 |
commit | 267229b14196eb7afa09cc4178c5baf9f9fd1c31 (patch) | |
tree | cdcd3087690da71fbd54e63eaadbe1646616a451 /fips/rsa/fips_rsa_sign.c | |
parent | 946f57105f390060fdce49db3414e71d4e584440 (diff) |
Constify RSA signature buffer.
Diffstat (limited to 'fips/rsa/fips_rsa_sign.c')
-rw-r--r-- | fips/rsa/fips_rsa_sign.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fips/rsa/fips_rsa_sign.c b/fips/rsa/fips_rsa_sign.c index a4c62bf1ce..4e1f27d48d 100644 --- a/fips/rsa/fips_rsa_sign.c +++ b/fips/rsa/fips_rsa_sign.c @@ -304,7 +304,7 @@ int FIPS_rsa_sign_digest(RSA *rsa, const unsigned char *md, int md_len, int FIPS_rsa_verify_ctx(RSA *rsa, EVP_MD_CTX *ctx, int rsa_pad_mode, int saltlen, const EVP_MD *mgf1Hash, - unsigned char *sigbuf, unsigned int siglen) + const unsigned char *sigbuf, unsigned int siglen) { unsigned int md_len, rv; unsigned char md[EVP_MAX_MD_SIZE]; @@ -319,7 +319,7 @@ int FIPS_rsa_verify_ctx(RSA *rsa, EVP_MD_CTX *ctx, int FIPS_rsa_verify_digest(RSA *rsa, const unsigned char *dig, int diglen, const EVP_MD *mhash, int rsa_pad_mode, int saltlen, const EVP_MD *mgf1Hash, - unsigned char *sigbuf, unsigned int siglen) + const unsigned char *sigbuf, unsigned int siglen) { int i,ret=0; unsigned int dlen; |