diff options
| author | jsing <> | 2018-02-22 17:05:35 +0000 |
|---|---|---|
| committer | jsing <> | 2018-02-22 17:05:35 +0000 |
| commit | d21642ebf4b38bbc8f6b41c6767843209bed1c3f (patch) | |
| tree | ca272285b3bce1d72cd1304e9887e5580e57e2b7 /src/lib/libcrypto/x509/x509.h | |
| parent | 37ca41ec4d3e5d62d5c2aeb79f6773a6b062247f (diff) | |
| download | openbsd-d21642ebf4b38bbc8f6b41c6767843209bed1c3f.tar.gz openbsd-d21642ebf4b38bbc8f6b41c6767843209bed1c3f.tar.bz2 openbsd-d21642ebf4b38bbc8f6b41c6767843209bed1c3f.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); |
