xref: /freebsd/crypto/openssl/doc/man3/ASN1_TIME_set.pod (revision 0d0c8621fd181e507f0fb50ffcca606faf66a8c2)
1e71b7053SJung-uk Kim=pod
2e71b7053SJung-uk Kim
3e71b7053SJung-uk Kim=head1 NAME
4e71b7053SJung-uk Kim
5e71b7053SJung-uk KimASN1_TIME_set, ASN1_UTCTIME_set, ASN1_GENERALIZEDTIME_set,
6e71b7053SJung-uk KimASN1_TIME_adj, ASN1_UTCTIME_adj, ASN1_GENERALIZEDTIME_adj,
7e71b7053SJung-uk KimASN1_TIME_check, ASN1_UTCTIME_check, ASN1_GENERALIZEDTIME_check,
8e71b7053SJung-uk KimASN1_TIME_set_string, ASN1_UTCTIME_set_string, ASN1_GENERALIZEDTIME_set_string,
9e71b7053SJung-uk KimASN1_TIME_set_string_X509,
10e71b7053SJung-uk KimASN1_TIME_normalize,
11e71b7053SJung-uk KimASN1_TIME_to_tm,
12b077aed3SPierre ProncheryASN1_TIME_print, ASN1_TIME_print_ex, ASN1_UTCTIME_print, ASN1_GENERALIZEDTIME_print,
13e71b7053SJung-uk KimASN1_TIME_diff,
14e71b7053SJung-uk KimASN1_TIME_cmp_time_t, ASN1_UTCTIME_cmp_time_t,
15e71b7053SJung-uk KimASN1_TIME_compare,
16b077aed3SPierre ProncheryASN1_TIME_to_generalizedtime,
17b077aed3SPierre ProncheryASN1_TIME_dup, ASN1_UTCTIME_dup, ASN1_GENERALIZEDTIME_dup - ASN.1 Time functions
18e71b7053SJung-uk Kim
19e71b7053SJung-uk Kim=head1 SYNOPSIS
20e71b7053SJung-uk Kim
21e71b7053SJung-uk Kim ASN1_TIME *ASN1_TIME_set(ASN1_TIME *s, time_t t);
22e71b7053SJung-uk Kim ASN1_UTCTIME *ASN1_UTCTIME_set(ASN1_UTCTIME *s, time_t t);
23e71b7053SJung-uk Kim ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_set(ASN1_GENERALIZEDTIME *s,
24e71b7053SJung-uk Kim                                                time_t t);
25e71b7053SJung-uk Kim
26e71b7053SJung-uk Kim ASN1_TIME *ASN1_TIME_adj(ASN1_TIME *s, time_t t, int offset_day,
27e71b7053SJung-uk Kim                          long offset_sec);
28e71b7053SJung-uk Kim ASN1_UTCTIME *ASN1_UTCTIME_adj(ASN1_UTCTIME *s, time_t t,
29e71b7053SJung-uk Kim                                int offset_day, long offset_sec);
30e71b7053SJung-uk Kim ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_adj(ASN1_GENERALIZEDTIME *s,
31e71b7053SJung-uk Kim                                                time_t t, int offset_day,
32e71b7053SJung-uk Kim                                                long offset_sec);
33e71b7053SJung-uk Kim
34e71b7053SJung-uk Kim int ASN1_TIME_set_string(ASN1_TIME *s, const char *str);
35e71b7053SJung-uk Kim int ASN1_TIME_set_string_X509(ASN1_TIME *s, const char *str);
36e71b7053SJung-uk Kim int ASN1_UTCTIME_set_string(ASN1_UTCTIME *s, const char *str);
37e71b7053SJung-uk Kim int ASN1_GENERALIZEDTIME_set_string(ASN1_GENERALIZEDTIME *s,
38e71b7053SJung-uk Kim                                     const char *str);
39e71b7053SJung-uk Kim
40e71b7053SJung-uk Kim int ASN1_TIME_normalize(ASN1_TIME *s);
41e71b7053SJung-uk Kim
42e71b7053SJung-uk Kim int ASN1_TIME_check(const ASN1_TIME *t);
43e71b7053SJung-uk Kim int ASN1_UTCTIME_check(const ASN1_UTCTIME *t);
44e71b7053SJung-uk Kim int ASN1_GENERALIZEDTIME_check(const ASN1_GENERALIZEDTIME *t);
45e71b7053SJung-uk Kim
46e71b7053SJung-uk Kim int ASN1_TIME_print(BIO *b, const ASN1_TIME *s);
47b077aed3SPierre Pronchery int ASN1_TIME_print_ex(BIO *bp, const ASN1_TIME *tm, unsigned long flags);
48e71b7053SJung-uk Kim int ASN1_UTCTIME_print(BIO *b, const ASN1_UTCTIME *s);
49e71b7053SJung-uk Kim int ASN1_GENERALIZEDTIME_print(BIO *b, const ASN1_GENERALIZEDTIME *s);
50e71b7053SJung-uk Kim
51e71b7053SJung-uk Kim int ASN1_TIME_to_tm(const ASN1_TIME *s, struct tm *tm);
52e71b7053SJung-uk Kim int ASN1_TIME_diff(int *pday, int *psec, const ASN1_TIME *from,
53e71b7053SJung-uk Kim                    const ASN1_TIME *to);
54e71b7053SJung-uk Kim
55e71b7053SJung-uk Kim int ASN1_TIME_cmp_time_t(const ASN1_TIME *s, time_t t);
56e71b7053SJung-uk Kim int ASN1_UTCTIME_cmp_time_t(const ASN1_UTCTIME *s, time_t t);
57e71b7053SJung-uk Kim
58e71b7053SJung-uk Kim int ASN1_TIME_compare(const ASN1_TIME *a, const ASN1_TIME *b);
59e71b7053SJung-uk Kim
60e71b7053SJung-uk Kim ASN1_GENERALIZEDTIME *ASN1_TIME_to_generalizedtime(ASN1_TIME *t,
61e71b7053SJung-uk Kim                                                    ASN1_GENERALIZEDTIME **out);
62e71b7053SJung-uk Kim
63b077aed3SPierre Pronchery ASN1_TIME *ASN1_TIME_dup(const ASN1_TIME *t);
64b077aed3SPierre Pronchery ASN1_UTCTIME *ASN1_UTCTIME_dup(const ASN1_UTCTIME *t);
65b077aed3SPierre Pronchery ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_dup(const ASN1_GENERALIZEDTIME *t);
66b077aed3SPierre Pronchery
67e71b7053SJung-uk Kim=head1 DESCRIPTION
68e71b7053SJung-uk Kim
69e71b7053SJung-uk KimThe ASN1_TIME_set(), ASN1_UTCTIME_set() and ASN1_GENERALIZEDTIME_set()
70b077aed3SPierre Proncheryfunctions set the structure I<s> to the time represented by the time_t
71b077aed3SPierre Proncheryvalue I<t>. If I<s> is NULL a new time structure is allocated and returned.
72e71b7053SJung-uk Kim
73e71b7053SJung-uk KimThe ASN1_TIME_adj(), ASN1_UTCTIME_adj() and ASN1_GENERALIZEDTIME_adj()
74b077aed3SPierre Proncheryfunctions set the time structure I<s> to the time represented
75b077aed3SPierre Proncheryby the time I<offset_day> and I<offset_sec> after the time_t value I<t>.
76b077aed3SPierre ProncheryThe values of I<offset_day> or I<offset_sec> can be negative to set a
77b077aed3SPierre Proncherytime before I<t>. The I<offset_sec> value can also exceed the number of
78b077aed3SPierre Proncheryseconds in a day. If I<s> is NULL a new structure is allocated
79e71b7053SJung-uk Kimand returned.
80e71b7053SJung-uk Kim
81e71b7053SJung-uk KimThe ASN1_TIME_set_string(), ASN1_UTCTIME_set_string() and
82b077aed3SPierre ProncheryASN1_GENERALIZEDTIME_set_string() functions set the time structure I<s>
83b077aed3SPierre Proncheryto the time represented by string I<str> which must be in appropriate ASN.1
84b077aed3SPierre Proncherytime format (for example YYMMDDHHMMSSZ or YYYYMMDDHHMMSSZ). If I<s> is NULL
85b077aed3SPierre Proncherythis function performs a format check on I<str> only. The string I<str>
86b077aed3SPierre Proncheryis copied into I<s>.
87e71b7053SJung-uk Kim
88b077aed3SPierre ProncheryASN1_TIME_set_string_X509() sets B<ASN1_TIME> structure I<s> to the time
89b077aed3SPierre Proncheryrepresented by string I<str> which must be in appropriate time format
90e71b7053SJung-uk Kimthat RFC 5280 requires, which means it only allows YYMMDDHHMMSSZ and
91e71b7053SJung-uk KimYYYYMMDDHHMMSSZ (leap second is rejected), all other ASN.1 time format
92b077aed3SPierre Proncheryare not allowed. If I<s> is NULL this function performs a format check
93b077aed3SPierre Proncheryon I<str> only.
94e71b7053SJung-uk Kim
95b077aed3SPierre ProncheryThe ASN1_TIME_normalize() function converts an B<ASN1_GENERALIZEDTIME> or
96b077aed3SPierre ProncheryB<ASN1_UTCTIME> into a time value that can be used in a certificate. It
97e71b7053SJung-uk Kimshould be used after the ASN1_TIME_set_string() functions and before
98e71b7053SJung-uk KimASN1_TIME_print() functions to get consistent (i.e. GMT) results.
99e71b7053SJung-uk Kim
100e71b7053SJung-uk KimThe ASN1_TIME_check(), ASN1_UTCTIME_check() and ASN1_GENERALIZEDTIME_check()
101b077aed3SPierre Proncheryfunctions check the syntax of the time structure I<s>.
102e71b7053SJung-uk Kim
103e71b7053SJung-uk KimThe ASN1_TIME_print(), ASN1_UTCTIME_print() and ASN1_GENERALIZEDTIME_print()
104b077aed3SPierre Proncheryfunctions print the time structure I<s> to BIO I<b> in human readable
105*0d0c8621SEnji Cooperformat. It will be of the format MMM DD HH:MM:SS[.s*] YYYY GMT, for example
106*0d0c8621SEnji Cooper"Feb E<32>3 00:55:52 2015 GMT", which does not include a newline.
107b077aed3SPierre ProncheryIf the time structure has invalid format it prints out "Bad time value" and
108b077aed3SPierre Proncheryreturns an error. The output for generalized time may include a fractional part
109e71b7053SJung-uk Kimfollowing the second.
110e71b7053SJung-uk Kim
111b077aed3SPierre ProncheryASN1_TIME_print_ex() provides I<flags> to specify the output format of the
112b077aed3SPierre Proncherydatetime. This can be either B<ASN1_DTFLGS_RFC822> or B<ASN1_DTFLGS_ISO8601>.
113e71b7053SJung-uk Kim
114b077aed3SPierre ProncheryASN1_TIME_to_tm() converts the time I<s> to the standard I<tm> structure.
115b077aed3SPierre ProncheryIf I<s> is NULL, then the current time is converted. The output time is GMT.
116b077aed3SPierre ProncheryThe I<tm_sec>, I<tm_min>, I<tm_hour>, I<tm_mday>, I<tm_wday>, I<tm_yday>,
117b077aed3SPierre ProncheryI<tm_mon> and I<tm_year> fields of I<tm> structure are set to proper values,
118b077aed3SPierre Proncherywhereas all other fields are set to 0. If I<tm> is NULL this function performs
119b077aed3SPierre Proncherya format check on I<s> only. If I<s> is in Generalized format with fractional
120b077aed3SPierre Proncheryseconds, e.g. YYYYMMDDHHMMSS.SSSZ, the fractional seconds will be lost while
121b077aed3SPierre Proncheryconverting I<s> to I<tm> structure.
122b077aed3SPierre Pronchery
123b077aed3SPierre ProncheryASN1_TIME_diff() sets I<*pday> and I<*psec> to the time difference between
124b077aed3SPierre ProncheryI<from> and I<to>. If I<to> represents a time later than I<from> then
125b077aed3SPierre Proncheryone or both (depending on the time difference) of I<*pday> and I<*psec>
126b077aed3SPierre Proncherywill be positive. If I<to> represents a time earlier than I<from> then
127b077aed3SPierre Proncheryone or both of I<*pday> and I<*psec> will be negative. If I<to> and I<from>
128b077aed3SPierre Proncheryrepresent the same time then I<*pday> and I<*psec> will both be zero.
129b077aed3SPierre ProncheryIf both I<*pday> and I<*psec> are nonzero they will always have the same
130b077aed3SPierre Proncherysign. The value of I<*psec> will always be less than the number of seconds
131b077aed3SPierre Proncheryin a day. If I<from> or I<to> is NULL the current time is used.
132e71b7053SJung-uk Kim
133e71b7053SJung-uk KimThe ASN1_TIME_cmp_time_t() and ASN1_UTCTIME_cmp_time_t() functions compare
134b077aed3SPierre Proncherythe two times represented by the time structure I<s> and the time_t I<t>.
135e71b7053SJung-uk Kim
136e71b7053SJung-uk KimThe ASN1_TIME_compare() function compares the two times represented by the
137b077aed3SPierre Proncherytime structures I<a> and I<b>.
138e71b7053SJung-uk Kim
139b077aed3SPierre ProncheryThe ASN1_TIME_to_generalizedtime() function converts an B<ASN1_TIME> to an
140b077aed3SPierre ProncheryB<ASN1_GENERALIZEDTIME>, regardless of year. If either I<out> or
141b077aed3SPierre ProncheryI<*out> are NULL, then a new object is allocated and must be freed after use.
142b077aed3SPierre Pronchery
143b077aed3SPierre ProncheryThe ASN1_TIME_dup(), ASN1_UTCTIME_dup() and ASN1_GENERALIZEDTIME_dup() functions
144b077aed3SPierre Proncheryduplicate the time structure I<t> and return the duplicated result
145b077aed3SPierre Proncherycorrespondingly.
146e71b7053SJung-uk Kim
147e71b7053SJung-uk Kim=head1 NOTES
148e71b7053SJung-uk Kim
149b077aed3SPierre ProncheryThe B<ASN1_TIME> structure corresponds to the ASN.1 structure B<Time>
150e71b7053SJung-uk Kimdefined in RFC5280 et al. The time setting functions obey the rules outlined
151e71b7053SJung-uk Kimin RFC5280: if the date can be represented by UTCTime it is used, else
152e71b7053SJung-uk KimGeneralizedTime is used.
153e71b7053SJung-uk Kim
154b077aed3SPierre ProncheryThe B<ASN1_TIME>, B<ASN1_UTCTIME> and B<ASN1_GENERALIZEDTIME> structures are
155b077aed3SPierre Proncheryrepresented as an B<ASN1_STRING> internally and can be freed up using
156b077aed3SPierre ProncheryASN1_STRING_free().
157e71b7053SJung-uk Kim
158b077aed3SPierre ProncheryThe B<ASN1_TIME> structure can represent years from 0000 to 9999 but no attempt
159e71b7053SJung-uk Kimis made to correct ancient calendar changes (for example from Julian to
160e71b7053SJung-uk KimGregorian calendars).
161e71b7053SJung-uk Kim
162b077aed3SPierre ProncheryB<ASN1_UTCTIME> is limited to a year range of 1950 through 2049.
163e71b7053SJung-uk Kim
164e71b7053SJung-uk KimSome applications add offset times directly to a time_t value and pass the
165e71b7053SJung-uk Kimresults to ASN1_TIME_set() (or equivalent). This can cause problems as the
166e71b7053SJung-uk Kimtime_t value can overflow on some systems resulting in unexpected results.
167e71b7053SJung-uk KimNew applications should use ASN1_TIME_adj() instead and pass the offset value
168b077aed3SPierre Proncheryin the I<offset_sec> and I<offset_day> parameters instead of directly
169e71b7053SJung-uk Kimmanipulating a time_t value.
170e71b7053SJung-uk Kim
171b077aed3SPierre ProncheryASN1_TIME_adj() may change the type from B<ASN1_GENERALIZEDTIME> to
172b077aed3SPierre ProncheryB<ASN1_UTCTIME>, or vice versa, based on the resulting year.
173b077aed3SPierre ProncheryASN1_GENERALIZEDTIME_adj() and ASN1_UTCTIME_adj() will not modify the type
174b077aed3SPierre Proncheryof the return structure.
175e71b7053SJung-uk Kim
176b077aed3SPierre ProncheryIt is recommended that functions starting with B<ASN1_TIME> be used instead of
177b077aed3SPierre Proncherythose starting with B<ASN1_UTCTIME> or B<ASN1_GENERALIZEDTIME>. The functions
178b077aed3SPierre Proncherystarting with B<ASN1_UTCTIME> and B<ASN1_GENERALIZEDTIME> act only on that
179b077aed3SPierre Proncheryspecific time format. The functions starting with B<ASN1_TIME> will operate on
180b077aed3SPierre Proncheryeither format.
181e71b7053SJung-uk Kim
182*0d0c8621SEnji CooperUsers familiar with RFC822 should note that when specifying the flag
183*0d0c8621SEnji CooperB<ASN1_DTFLGS_RFC822> the year will be formatted as documented above,
184*0d0c8621SEnji Cooperi.e., using 4 digits, not 2 as specified in RFC822.
185*0d0c8621SEnji Cooper
186e71b7053SJung-uk Kim=head1 BUGS
187e71b7053SJung-uk Kim
188b077aed3SPierre ProncheryASN1_TIME_print(), ASN1_UTCTIME_print() and ASN1_GENERALIZEDTIME_print() do
189b077aed3SPierre Proncherynot print out the timezone: it either prints out "GMT" or nothing. But all
190e71b7053SJung-uk Kimcertificates complying with RFC5280 et al use GMT anyway.
191e71b7053SJung-uk Kim
192b077aed3SPierre ProncheryASN1_TIME_print(), ASN1_TIME_print_ex(), ASN1_UTCTIME_print() and
193b077aed3SPierre ProncheryASN1_GENERALIZEDTIME_print() do not distinguish if they fail because
194b077aed3SPierre Proncheryof an I/O error or invalid time format.
195b077aed3SPierre Pronchery
196e71b7053SJung-uk KimUse the ASN1_TIME_normalize() function to normalize the time value before
197e71b7053SJung-uk Kimprinting to get GMT results.
198e71b7053SJung-uk Kim
199e71b7053SJung-uk Kim=head1 RETURN VALUES
200e71b7053SJung-uk Kim
201b077aed3SPierre ProncheryASN1_TIME_set(), ASN1_UTCTIME_set(), ASN1_GENERALIZEDTIME_set(),
202b077aed3SPierre ProncheryASN1_TIME_adj(), ASN1_UTCTIME_adj() and ASN1_GENERALIZEDTIME_set() return
203b077aed3SPierre Proncherya pointer to a time structure or NULL if an error occurred.
204e71b7053SJung-uk Kim
205b077aed3SPierre ProncheryASN1_TIME_set_string(), ASN1_UTCTIME_set_string(),
206b077aed3SPierre ProncheryASN1_GENERALIZEDTIME_set_string() and ASN1_TIME_set_string_X509() return
207b077aed3SPierre Pronchery1 if the time value is successfully set and 0 otherwise.
208e71b7053SJung-uk Kim
209e71b7053SJung-uk KimASN1_TIME_normalize() returns 1 on success, and 0 on error.
210e71b7053SJung-uk Kim
211e71b7053SJung-uk KimASN1_TIME_check(), ASN1_UTCTIME_check and ASN1_GENERALIZEDTIME_check() return 1
212e71b7053SJung-uk Kimif the structure is syntactically correct and 0 otherwise.
213e71b7053SJung-uk Kim
214b077aed3SPierre ProncheryASN1_TIME_print(), ASN1_UTCTIME_print() and ASN1_GENERALIZEDTIME_print()
215b077aed3SPierre Proncheryreturn 1 if the time is successfully printed out and
216b077aed3SPierre Pronchery0 if an I/O error occurred an error occurred (I/O error or invalid time format).
217e71b7053SJung-uk Kim
218e71b7053SJung-uk KimASN1_TIME_to_tm() returns 1 if the time is successfully parsed and 0 if an
219e71b7053SJung-uk Kimerror occurred (invalid time format).
220e71b7053SJung-uk Kim
221e71b7053SJung-uk KimASN1_TIME_diff() returns 1 for success and 0 for failure. It can fail if the
222e71b7053SJung-uk Kimpassed-in time structure has invalid syntax, for example.
223e71b7053SJung-uk Kim
224b077aed3SPierre ProncheryASN1_TIME_cmp_time_t() and ASN1_UTCTIME_cmp_time_t() return -1 if I<s> is
225b077aed3SPierre Proncherybefore I<t>, 0 if I<s> equals I<t>, or 1 if I<s> is after I<t>. -2 is returned
226e71b7053SJung-uk Kimon error.
227e71b7053SJung-uk Kim
228b077aed3SPierre ProncheryASN1_TIME_compare() returns -1 if I<a> is before I<b>, 0 if I<a> equals I<b>,
229b077aed3SPierre Proncheryor 1 if I<a> is after I<b>. -2 is returned on error.
230e71b7053SJung-uk Kim
231b077aed3SPierre ProncheryASN1_TIME_to_generalizedtime() returns a pointer to the appropriate time
232b077aed3SPierre Proncherystructure on success or NULL if an error occurred.
233b077aed3SPierre Pronchery
234b077aed3SPierre ProncheryASN1_TIME_dup(), ASN1_UTCTIME_dup() and ASN1_GENERALIZEDTIME_dup() return a
235b077aed3SPierre Proncherypointer to a time structure or NULL if an error occurred.
236e71b7053SJung-uk Kim
237610a21fdSJung-uk Kim=head1 EXAMPLES
238610a21fdSJung-uk Kim
239610a21fdSJung-uk KimSet a time structure to one hour after the current time and print it out:
240610a21fdSJung-uk Kim
241610a21fdSJung-uk Kim #include <time.h>
242610a21fdSJung-uk Kim #include <openssl/asn1.h>
243610a21fdSJung-uk Kim
244610a21fdSJung-uk Kim ASN1_TIME *tm;
245610a21fdSJung-uk Kim time_t t;
246610a21fdSJung-uk Kim BIO *b;
247610a21fdSJung-uk Kim
248610a21fdSJung-uk Kim t = time(NULL);
249610a21fdSJung-uk Kim tm = ASN1_TIME_adj(NULL, t, 0, 60 * 60);
250610a21fdSJung-uk Kim b = BIO_new_fp(stdout, BIO_NOCLOSE);
251610a21fdSJung-uk Kim ASN1_TIME_print(b, tm);
252610a21fdSJung-uk Kim ASN1_STRING_free(tm);
253610a21fdSJung-uk Kim BIO_free(b);
254610a21fdSJung-uk Kim
255610a21fdSJung-uk KimDetermine if one time is later or sooner than the current time:
256610a21fdSJung-uk Kim
257610a21fdSJung-uk Kim int day, sec;
258610a21fdSJung-uk Kim
259610a21fdSJung-uk Kim if (!ASN1_TIME_diff(&day, &sec, NULL, to))
260610a21fdSJung-uk Kim     /* Invalid time format */
261610a21fdSJung-uk Kim
262610a21fdSJung-uk Kim if (day > 0 || sec > 0)
263610a21fdSJung-uk Kim     printf("Later\n");
264610a21fdSJung-uk Kim else if (day < 0 || sec < 0)
265610a21fdSJung-uk Kim     printf("Sooner\n");
266610a21fdSJung-uk Kim else
267610a21fdSJung-uk Kim     printf("Same\n");
268610a21fdSJung-uk Kim
269e71b7053SJung-uk Kim=head1 HISTORY
270e71b7053SJung-uk Kim
271e71b7053SJung-uk KimThe ASN1_TIME_to_tm() function was added in OpenSSL 1.1.1.
272e71b7053SJung-uk KimThe ASN1_TIME_set_string_X509() function was added in OpenSSL 1.1.1.
273e71b7053SJung-uk KimThe ASN1_TIME_normalize() function was added in OpenSSL 1.1.1.
274e71b7053SJung-uk KimThe ASN1_TIME_cmp_time_t() function was added in OpenSSL 1.1.1.
275e71b7053SJung-uk KimThe ASN1_TIME_compare() function was added in OpenSSL 1.1.1.
276e71b7053SJung-uk Kim
277e71b7053SJung-uk Kim=head1 COPYRIGHT
278e71b7053SJung-uk Kim
279*0d0c8621SEnji CooperCopyright 2015-2025 The OpenSSL Project Authors. All Rights Reserved.
280e71b7053SJung-uk Kim
281b077aed3SPierre ProncheryLicensed under the Apache License 2.0 (the "License").  You may not use
282e71b7053SJung-uk Kimthis file except in compliance with the License.  You can obtain a copy
283e71b7053SJung-uk Kimin the file LICENSE in the source distribution or at
284e71b7053SJung-uk KimL<https://www.openssl.org/source/license.html>.
285e71b7053SJung-uk Kim
286e71b7053SJung-uk Kim=cut
287