summaryrefslogtreecommitdiff
path: root/lib/libcrypto/ts
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2015-09-30 18:04:03 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2015-09-30 18:04:03 +0000
commitfbd3604c4ab2f3353e1b72f3f80c333e6c21cc45 (patch)
tree5f4477fb3f32028bff89af5d59d5374c4c9adf7d /lib/libcrypto/ts
parentc91e9fabb018eb636bbd095a779b46025843328f (diff)
Replace M_ASN1_GENERALIZEDTIME_(new|free) with
ASN1_GENERALIZEDTIME_(new|free).
Diffstat (limited to 'lib/libcrypto/ts')
-rw-r--r--lib/libcrypto/ts/ts_rsp_sign.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/ts/ts_rsp_sign.c b/lib/libcrypto/ts/ts_rsp_sign.c
index 27659e8f458..758d7473841 100644
--- a/lib/libcrypto/ts/ts_rsp_sign.c
+++ b/lib/libcrypto/ts/ts_rsp_sign.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ts_rsp_sign.c,v 1.18 2014/07/12 16:03:37 miod Exp $ */
+/* $OpenBSD: ts_rsp_sign.c,v 1.19 2015/09/30 18:04:02 jsing Exp $ */
/* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL
* project 2002.
*/
@@ -1008,7 +1008,7 @@ TS_RESP_set_genTime_with_precision(ASN1_GENERALIZEDTIME *asn1_time,
goto err;
/* Now call OpenSSL to check and set our genTime value */
- if (!asn1_time && !(asn1_time = M_ASN1_GENERALIZEDTIME_new()))
+ if (!asn1_time && !(asn1_time = ASN1_GENERALIZEDTIME_new()))
goto err;
if (!ASN1_GENERALIZEDTIME_set_string(asn1_time, genTime_str)) {
ASN1_GENERALIZEDTIME_free(asn1_time);