2 01d3961d 2023-08-23 op * Copyright (c) 2023 Omar Polo <op@omarpolo.com>
4 01d3961d 2023-08-23 op * Permission to use, copy, modify, and distribute this software for any
5 01d3961d 2023-08-23 op * purpose with or without fee is hereby granted, provided that the above
6 01d3961d 2023-08-23 op * copyright notice and this permission notice appear in all copies.
8 01d3961d 2023-08-23 op * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 01d3961d 2023-08-23 op * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 01d3961d 2023-08-23 op * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 01d3961d 2023-08-23 op * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 01d3961d 2023-08-23 op * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13 01d3961d 2023-08-23 op * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14 01d3961d 2023-08-23 op * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 01d3961d 2023-08-23 op #include <stdlib.h>
19 01d3961d 2023-08-23 op #include <openssl/asn1.h>
23 01d3961d 2023-08-23 op int ASN1_time_tm_clamp_notafter(struct tm *tm);
28 01d3961d 2023-08-23 op return ASN1_time_tm_clamp_notafter(NULL);