diff options
author | jsing <> | 2015-07-29 14:58:34 +0000 |
---|---|---|
committer | jsing <> | 2015-07-29 14:58:34 +0000 |
commit | 4b2596fb0f28cb59c8918b16cdae591454312175 (patch) | |
tree | ffda12d1155f37910342cc3f090b8425ad4cf03a /src/lib/libcrypto/ts/ts_rsp_utils.c | |
parent | ef1330e743f37f67eea11df4f4993267e06531dd (diff) | |
download | openbsd-4b2596fb0f28cb59c8918b16cdae591454312175.tar.gz openbsd-4b2596fb0f28cb59c8918b16cdae591454312175.tar.bz2 openbsd-4b2596fb0f28cb59c8918b16cdae591454312175.zip |
Expand obsolete M_ASN1.*(cmp|dup|print|set) macros - no change in generated
assembly.
ok bcook@
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; |