diff options
author | jsing <> | 2018-02-22 17:05:35 +0000 |
---|---|---|
committer | jsing <> | 2018-02-22 17:05:35 +0000 |
commit | 4a2e703021eacb933a1599516f6fc8c54d296bc4 (patch) | |
tree | ca272285b3bce1d72cd1304e9887e5580e57e2b7 /src/lib/libcrypto/x509/x509.h | |
parent | 6a8a8c750ccba69c261bfe0e0c3cc4d99e982304 (diff) | |
download | openbsd-4a2e703021eacb933a1599516f6fc8c54d296bc4.tar.gz openbsd-4a2e703021eacb933a1599516f6fc8c54d296bc4.tar.bz2 openbsd-4a2e703021eacb933a1599516f6fc8c54d296bc4.zip |
Provide X509_get0_pubkey().
Diffstat (limited to 'src/lib/libcrypto/x509/x509.h')
-rw-r--r-- | src/lib/libcrypto/x509/x509.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509/x509.h b/src/lib/libcrypto/x509/x509.h index 906cadaea3..1dafabe971 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.37 2018/02/22 17:01:44 jsing Exp $ */ | 1 | /* $OpenBSD: x509.h,v 1.38 2018/02/22 17:05:35 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 | * |
@@ -994,7 +994,8 @@ const ASN1_TIME *X509_get0_notAfter(const X509 *x); | |||
994 | ASN1_TIME *X509_getm_notAfter(const X509 *x); | 994 | ASN1_TIME *X509_getm_notAfter(const X509 *x); |
995 | int X509_set_pubkey(X509 *x, EVP_PKEY *pkey); | 995 | int X509_set_pubkey(X509 *x, EVP_PKEY *pkey); |
996 | EVP_PKEY * X509_get_pubkey(X509 *x); | 996 | EVP_PKEY * X509_get_pubkey(X509 *x); |
997 | ASN1_BIT_STRING * X509_get0_pubkey_bitstr(const X509 *x); | 997 | EVP_PKEY * X509_get0_pubkey(X509 *x); |
998 | ASN1_BIT_STRING *X509_get0_pubkey_bitstr(const X509 *x); | ||
998 | int X509_certificate_type(X509 *x,EVP_PKEY *pubkey /* optional */); | 999 | int X509_certificate_type(X509 *x,EVP_PKEY *pubkey /* optional */); |
999 | 1000 | ||
1000 | int X509_REQ_set_version(X509_REQ *x,long version); | 1001 | int X509_REQ_set_version(X509_REQ *x,long version); |