Add duplication APIs to ASN1_TIME and related types
[openssl.git] / crypto / asn1 / a_utctm.c
index 47eb93fe8480423d4cdc38d05ce43de4c77244fe..596599353211eda240431ffdf2e930b35e3338f1 100644 (file)
@@ -12,6 +12,9 @@
 #include "internal/cryptlib.h"
 #include <openssl/asn1.h>
 #include "asn1_local.h"
+#include <openssl/asn1t.h>
+
+IMPLEMENT_ASN1_DUP_FUNCTION(ASN1_UTCTIME)
 
 /* This is the primary function used to parse ASN1_UTCTIME */
 int asn1_utctime_to_tm(struct tm *tm, const ASN1_UTCTIME *d)