summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509_set.c
diff options
context:
space:
mode:
authortb <>2021-11-01 08:14:36 +0000
committertb <>2021-11-01 08:14:36 +0000
commit9e4ccc5228dcbfa0dfefbcb77f4fbc4409e63949 (patch)
tree09eaa986df5bec5fc37f0dad91370c7d06c3f62e /src/lib/libcrypto/x509/x509_set.c
parent24b324d6b70a17a56bae163dd5417bf00331ec48 (diff)
downloadopenbsd-9e4ccc5228dcbfa0dfefbcb77f4fbc4409e63949.tar.gz
openbsd-9e4ccc5228dcbfa0dfefbcb77f4fbc4409e63949.tar.bz2
openbsd-9e4ccc5228dcbfa0dfefbcb77f4fbc4409e63949.zip
Unifdef LIBRESSL_NEW_API. Now that the library is bumped, this is
no longer needed. ok jsing
Diffstat (limited to 'src/lib/libcrypto/x509/x509_set.c')
-rw-r--r--src/lib/libcrypto/x509/x509_set.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/x509/x509_set.c b/src/lib/libcrypto/x509/x509_set.c
index e086c021cd..c4ce8e5674 100644
--- a/src/lib/libcrypto/x509/x509_set.c
+++ b/src/lib/libcrypto/x509/x509_set.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509_set.c,v 1.18 2021/10/21 13:02:01 tb Exp $ */ 1/* $OpenBSD: x509_set.c,v 1.19 2021/11/01 08:14:36 tb 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 *
@@ -217,10 +217,8 @@ X509_get_signature_type(const X509 *x)
217 return EVP_PKEY_type(OBJ_obj2nid(x->sig_alg->algorithm)); 217 return EVP_PKEY_type(OBJ_obj2nid(x->sig_alg->algorithm));
218} 218}
219 219
220#if defined(LIBRESSL_NEW_API)
221X509_PUBKEY * 220X509_PUBKEY *
222X509_get_X509_PUBKEY(const X509 *x) 221X509_get_X509_PUBKEY(const X509 *x)
223{ 222{
224 return x->cert_info->key; 223 return x->cert_info->key;
225} 224}
226#endif