summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ts/ts_rsp_sign.c
diff options
context:
space:
mode:
authorjsing <>2015-09-30 18:04:02 +0000
committerjsing <>2015-09-30 18:04:02 +0000
commit869b9cc4cf0bab94b675f9e4016b0c6db89cfbeb (patch)
tree9ecca773b943036872a410cb742840ffc22159bd /src/lib/libcrypto/ts/ts_rsp_sign.c
parentda3eb82aa9ab17870adc2479f9053b8d8805b853 (diff)
downloadopenbsd-869b9cc4cf0bab94b675f9e4016b0c6db89cfbeb.tar.gz
openbsd-869b9cc4cf0bab94b675f9e4016b0c6db89cfbeb.tar.bz2
openbsd-869b9cc4cf0bab94b675f9e4016b0c6db89cfbeb.zip
Replace M_ASN1_GENERALIZEDTIME_(new|free) with
ASN1_GENERALIZEDTIME_(new|free).
Diffstat (limited to 'src/lib/libcrypto/ts/ts_rsp_sign.c')
-rw-r--r--src/lib/libcrypto/ts/ts_rsp_sign.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/ts/ts_rsp_sign.c b/src/lib/libcrypto/ts/ts_rsp_sign.c
index 27659e8f45..758d747384 100644
--- a/src/lib/libcrypto/ts/ts_rsp_sign.c
+++ b/src/lib/libcrypto/ts/ts_rsp_sign.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ts_rsp_sign.c,v 1.18 2014/07/12 16:03:37 miod Exp $ */ 1/* $OpenBSD: ts_rsp_sign.c,v 1.19 2015/09/30 18:04:02 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 */
@@ -1008,7 +1008,7 @@ TS_RESP_set_genTime_with_precision(ASN1_GENERALIZEDTIME *asn1_time,
1008 goto err; 1008 goto err;
1009 1009
1010 /* Now call OpenSSL to check and set our genTime value */ 1010 /* Now call OpenSSL to check and set our genTime value */
1011 if (!asn1_time && !(asn1_time = M_ASN1_GENERALIZEDTIME_new())) 1011 if (!asn1_time && !(asn1_time = ASN1_GENERALIZEDTIME_new()))
1012 goto err; 1012 goto err;
1013 if (!ASN1_GENERALIZEDTIME_set_string(asn1_time, genTime_str)) { 1013 if (!ASN1_GENERALIZEDTIME_set_string(asn1_time, genTime_str)) {
1014 ASN1_GENERALIZEDTIME_free(asn1_time); 1014 ASN1_GENERALIZEDTIME_free(asn1_time);