diff options
author | Bodo Möller <bodo@openssl.org> | 2007-04-24 01:06:19 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2007-04-24 01:06:19 +0000 |
commit | a291745eebe4ea0f4490bf4354988cdc15cd0a5b (patch) | |
tree | 1ff5bcc97763b0e10b54d79505458121a11d1283 /crypto/ts/ts_asn1.c | |
parent | 0862caf27efbdad6da3563842d4812c7d0f763dd (diff) | |
download | openssl-a291745eebe4ea0f4490bf4354988cdc15cd0a5b.tar.gz |
fix function codes for error
Diffstat (limited to 'crypto/ts/ts_asn1.c')
-rw-r--r-- | crypto/ts/ts_asn1.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/ts/ts_asn1.c b/crypto/ts/ts_asn1.c index 86d78dc472..40b730c5e2 100644 --- a/crypto/ts/ts_asn1.c +++ b/crypto/ts/ts_asn1.c @@ -187,18 +187,18 @@ static int ts_resp_set_tst_info(TS_RESP *a) if (a->token) { if (status != 0 && status != 1) { - TSerr(TS_F_D2I_TS_RESP, TS_R_TOKEN_PRESENT); + TSerr(TS_F_TS_RESP_SET_TST_INFO, TS_R_TOKEN_PRESENT); return 0; } if (a->tst_info != NULL) TS_TST_INFO_free(a->tst_info); a->tst_info = PKCS7_to_TS_TST_INFO(a->token); if (!a->tst_info) { - TSerr(TS_F_D2I_TS_RESP, TS_R_PKCS7_TO_TS_TST_INFO_FAILED); + TSerr(TS_F_TS_RESP_SET_TST_INFO, TS_R_PKCS7_TO_TS_TST_INFO_FAILED); return 0; } } else if (status == 0 || status == 1) { - TSerr(TS_F_D2I_TS_RESP, TS_R_TOKEN_NOT_PRESENT); + TSerr(TS_F_TS_RESP_SET_TST_INFO, TS_R_TOKEN_NOT_PRESENT); return 0; } |