diff options
author | Bodo Möller <bodo@openssl.org> | 2000-09-06 15:40:52 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2000-09-06 15:40:52 +0000 |
commit | 61f175f4ba3d90de1fac060080c99aa193764665 (patch) | |
tree | 4773de63fd40fa61569680988becbf7b4ddf5f41 /crypto/asn1/asn1.h | |
parent | 26b0d15628a63c452d53711df3e4f2891b288ae4 (diff) | |
download | openssl-61f175f4ba3d90de1fac060080c99aa193764665.tar.gz |
Get rid of ASN1_UTCTIME_get, which cannot work with time_t
return type (on platforms where time_t is a 32 bit value).
New function ASN1_UTCTIME_cmp_time_t as a replacement
for use in apps/x509.c.
Diffstat (limited to 'crypto/asn1/asn1.h')
-rw-r--r-- | crypto/asn1/asn1.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/asn1/asn1.h b/crypto/asn1/asn1.h index b2167561b5..6dfd4fa76e 100644 --- a/crypto/asn1/asn1.h +++ b/crypto/asn1/asn1.h @@ -655,7 +655,10 @@ ASN1_ENUMERATED *d2i_ASN1_ENUMERATED(ASN1_ENUMERATED **a,unsigned char **pp, int ASN1_UTCTIME_check(ASN1_UTCTIME *a); ASN1_UTCTIME *ASN1_UTCTIME_set(ASN1_UTCTIME *s,time_t t); int ASN1_UTCTIME_set_string(ASN1_UTCTIME *s, char *str); +int ASN1_UTCTIME_cmp_time_t(const ASN1_UTCTIME *s, time_t t); +#if 0 time_t ASN1_UTCTIME_get(const ASN1_UTCTIME *s); +#endif int ASN1_GENERALIZEDTIME_check(ASN1_GENERALIZEDTIME *a); ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_set(ASN1_GENERALIZEDTIME *s,time_t t); |