summaryrefslogtreecommitdiffstats
path: root/crypto/ts/ts_rsp_sign.c
diff options
context:
space:
mode:
authorNils Larsch <nils@openssl.org>2006-03-05 20:19:05 +0000
committerNils Larsch <nils@openssl.org>2006-03-05 20:19:05 +0000
commit6c73d01142fa8eb450a16f1f2e81ae2a2681c109 (patch)
treef75523d46fddc7798ddf6812627f93f100e138b9 /crypto/ts/ts_rsp_sign.c
parent2932ad5677c72c6ca55ce41344338cc09cfdb7fd (diff)
constify some print and ts functions
Diffstat (limited to 'crypto/ts/ts_rsp_sign.c')
-rw-r--r--crypto/ts/ts_rsp_sign.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/ts/ts_rsp_sign.c b/crypto/ts/ts_rsp_sign.c
index aa1b6370d9..30b6498456 100644
--- a/crypto/ts/ts_rsp_sign.c
+++ b/crypto/ts/ts_rsp_sign.c
@@ -512,7 +512,7 @@ static int TS_RESP_check_request(TS_RESP_CTX *ctx)
TS_MSG_IMPRINT *msg_imprint;
X509_ALGOR *md_alg;
int md_alg_id;
- ASN1_OCTET_STRING *digest;
+ const ASN1_OCTET_STRING *digest;
EVP_MD *md = NULL;
int i;
@@ -607,7 +607,7 @@ static TS_TST_INFO *TS_RESP_create_tst_info(TS_RESP_CTX *ctx,
ASN1_GENERALIZEDTIME *asn1_time = NULL;
long sec, usec;
TS_ACCURACY *accuracy = NULL;
- ASN1_INTEGER *nonce;
+ const ASN1_INTEGER *nonce;
GENERAL_NAME *tsa_name = NULL;
if (!(tst_info = TS_TST_INFO_new())) goto end;