diff options
author | jsing <> | 2018-02-14 16:57:25 +0000 |
---|---|---|
committer | jsing <> | 2018-02-14 16:57:25 +0000 |
commit | c46ba7482ab6670501b4e03ceadbf235aa22b0e7 (patch) | |
tree | 070ba1732882d2bb8be5ba4acdfa2f1ef543f094 /src/lib/libcrypto/x509/x509.h | |
parent | c865544aa0c94bd5b8fa9f689148c1ee561270f0 (diff) | |
download | openbsd-c46ba7482ab6670501b4e03ceadbf235aa22b0e7.tar.gz openbsd-c46ba7482ab6670501b4e03ceadbf235aa22b0e7.tar.bz2 openbsd-c46ba7482ab6670501b4e03ceadbf235aa22b0e7.zip |
Provide X509_get{0,m}_not{Before,After}().
Diffstat (limited to 'src/lib/libcrypto/x509/x509.h')
-rw-r--r-- | src/lib/libcrypto/x509/x509.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509.h b/src/lib/libcrypto/x509/x509.h index cda89ac5af..0cb9e2826a 100644 --- a/src/lib/libcrypto/x509/x509.h +++ b/src/lib/libcrypto/x509/x509.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509.h,v 1.27 2018/02/14 16:18:10 jsing Exp $ */ | 1 | /* $OpenBSD: x509.h,v 1.28 2018/02/14 16:57:25 jsing Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -969,6 +969,10 @@ int X509_set_subject_name(X509 *x, X509_NAME *name); | |||
969 | X509_NAME * X509_get_subject_name(X509 *a); | 969 | X509_NAME * X509_get_subject_name(X509 *a); |
970 | int X509_set_notBefore(X509 *x, const ASN1_TIME *tm); | 970 | int X509_set_notBefore(X509 *x, const ASN1_TIME *tm); |
971 | int X509_set_notAfter(X509 *x, const ASN1_TIME *tm); | 971 | int X509_set_notAfter(X509 *x, const ASN1_TIME *tm); |
972 | const ASN1_TIME *X509_get0_notBefore(const X509 *x); | ||
973 | ASN1_TIME *X509_getm_notBefore(const X509 *x); | ||
974 | const ASN1_TIME *X509_get0_notAfter(const X509 *x); | ||
975 | ASN1_TIME *X509_getm_notAfter(const X509 *x); | ||
972 | int X509_set_pubkey(X509 *x, EVP_PKEY *pkey); | 976 | int X509_set_pubkey(X509 *x, EVP_PKEY *pkey); |
973 | EVP_PKEY * X509_get_pubkey(X509 *x); | 977 | EVP_PKEY * X509_get_pubkey(X509 *x); |
974 | ASN1_BIT_STRING * X509_get0_pubkey_bitstr(const X509 *x); | 978 | ASN1_BIT_STRING * X509_get0_pubkey_bitstr(const X509 *x); |