diff options
author | Nils Larsch <nils@openssl.org> | 2006-03-05 21:19:05 +0100 |
---|---|---|
committer | Nils Larsch <nils@openssl.org> | 2006-03-05 21:19:05 +0100 |
commit | 6c73d01142fa8eb450a16f1f2e81ae2a2681c109 (patch) | |
tree | f75523d46fddc7798ddf6812627f93f100e138b9 /crypto/ts/ts_rsp_verify.c | |
parent | Typo. (diff) | |
download | openssl-6c73d01142fa8eb450a16f1f2e81ae2a2681c109.tar.xz openssl-6c73d01142fa8eb450a16f1f2e81ae2a2681c109.zip |
constify some print and ts functions
Diffstat (limited to 'crypto/ts/ts_rsp_verify.c')
-rw-r--r-- | crypto/ts/ts_rsp_verify.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/ts/ts_rsp_verify.c b/crypto/ts/ts_rsp_verify.c index 8b57513b94..dcc09bc16a 100644 --- a/crypto/ts/ts_rsp_verify.c +++ b/crypto/ts/ts_rsp_verify.c @@ -81,7 +81,7 @@ static int TS_compute_imprint(BIO *data, TS_TST_INFO *tst_info, static int TS_check_imprints(X509_ALGOR *algor_a, unsigned char *imprint_a, unsigned len_a, TS_TST_INFO *tst_info); -static int TS_check_nonces(ASN1_INTEGER *a, TS_TST_INFO *tst_info); +static int TS_check_nonces(const ASN1_INTEGER *a, TS_TST_INFO *tst_info); static int TS_check_signer_name(GENERAL_NAME *tsa_name, X509 *signer); static int TS_find_name(STACK_OF(GENERAL_NAME) *gen_names, GENERAL_NAME *name); @@ -657,9 +657,9 @@ static int TS_check_imprints(X509_ALGOR *algor_a, return ret; } -static int TS_check_nonces(ASN1_INTEGER *a, TS_TST_INFO *tst_info) +static int TS_check_nonces(const ASN1_INTEGER *a, TS_TST_INFO *tst_info) { - ASN1_INTEGER *b = TS_TST_INFO_get_nonce(tst_info); + const ASN1_INTEGER *b = TS_TST_INFO_get_nonce(tst_info); /* Error if nonce is missing. */ if (!b) |