diff options
| author | jsing <> | 2018-03-17 14:55:39 +0000 |
|---|---|---|
| committer | jsing <> | 2018-03-17 14:55:39 +0000 |
| commit | d1ff925e1bf7b1388167e2c45e4399c0bfa2e122 (patch) | |
| tree | 5be15ff9269fc26dff6867c5918dcb7f2e3f9d19 /src/lib/libcrypto/x509/x509.h | |
| parent | 2760b7527e769e5bdcce07b716e5f7fbc73505c9 (diff) | |
| download | openbsd-d1ff925e1bf7b1388167e2c45e4399c0bfa2e122.tar.gz openbsd-d1ff925e1bf7b1388167e2c45e4399c0bfa2e122.tar.bz2 openbsd-d1ff925e1bf7b1388167e2c45e4399c0bfa2e122.zip | |
Provide X509_PUBKEY_get0() by splitting X509_PUBKEY_get() and turning it
into a wrapper that calls X509_PUBKEY_get0() and up refs.
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/x509/x509.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509.h b/src/lib/libcrypto/x509/x509.h index 2b096ed3b3..a4aa849e31 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.42 2018/03/17 14:33:20 jsing Exp $ */ | 1 | /* $OpenBSD: x509.h,v 1.43 2018/03/17 14:55:39 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 | * |
| @@ -806,6 +806,7 @@ extern const ASN1_ITEM X509_PUBKEY_it; | |||
| 806 | 806 | ||
| 807 | int X509_PUBKEY_set(X509_PUBKEY **x, EVP_PKEY *pkey); | 807 | int X509_PUBKEY_set(X509_PUBKEY **x, EVP_PKEY *pkey); |
| 808 | EVP_PKEY * X509_PUBKEY_get(X509_PUBKEY *key); | 808 | EVP_PKEY * X509_PUBKEY_get(X509_PUBKEY *key); |
| 809 | EVP_PKEY * X509_PUBKEY_get0(X509_PUBKEY *key); | ||
| 809 | int X509_get_pubkey_parameters(EVP_PKEY *pkey, | 810 | int X509_get_pubkey_parameters(EVP_PKEY *pkey, |
| 810 | STACK_OF(X509) *chain); | 811 | STACK_OF(X509) *chain); |
| 811 | int i2d_PUBKEY(EVP_PKEY *a,unsigned char **pp); | 812 | int i2d_PUBKEY(EVP_PKEY *a,unsigned char **pp); |
