diff options
Diffstat (limited to 'src/lib/libcrypto/ts/ts_rsp_utils.c')
| -rw-r--r-- | src/lib/libcrypto/ts/ts_rsp_utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/ts/ts_rsp_utils.c b/src/lib/libcrypto/ts/ts_rsp_utils.c index 0d05814297..39eb2a2963 100644 --- a/src/lib/libcrypto/ts/ts_rsp_utils.c +++ b/src/lib/libcrypto/ts/ts_rsp_utils.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ts_rsp_utils.c,v 1.4 2014/07/11 08:44:49 jsing Exp $ */ | 1 | /* $OpenBSD: ts_rsp_utils.c,v 1.5 2015/07/29 14:58:34 jsing Exp $ */ |
| 2 | /* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL | 2 | /* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL |
| 3 | * project 2002. | 3 | * project 2002. |
| 4 | */ | 4 | */ |
| @@ -200,7 +200,7 @@ TS_TST_INFO_set_time(TS_TST_INFO *a, const ASN1_GENERALIZEDTIME *gtime) | |||
| 200 | 200 | ||
| 201 | if (a->time == gtime) | 201 | if (a->time == gtime) |
| 202 | return 1; | 202 | return 1; |
| 203 | new_time = M_ASN1_GENERALIZEDTIME_dup(gtime); | 203 | new_time = ASN1_STRING_dup(gtime); |
| 204 | if (new_time == NULL) { | 204 | if (new_time == NULL) { |
| 205 | TSerr(TS_F_TS_TST_INFO_SET_TIME, ERR_R_MALLOC_FAILURE); | 205 | TSerr(TS_F_TS_TST_INFO_SET_TIME, ERR_R_MALLOC_FAILURE); |
| 206 | return 0; | 206 | return 0; |
