summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509
diff options
context:
space:
mode:
authortb <>2024-08-31 10:25:38 +0000
committertb <>2024-08-31 10:25:38 +0000
commitdfe0db320ed7b242f95c66b5d0cb7525257a6882 (patch)
tree25c9f27a907b66043fdde3e70d610ed8b539167e /src/lib/libcrypto/x509
parentdf13e5b090fdd7526e1f2c4242ff8deb5a98c783 (diff)
downloadopenbsd-dfe0db320ed7b242f95c66b5d0cb7525257a6882.tar.gz
openbsd-dfe0db320ed7b242f95c66b5d0cb7525257a6882.tar.bz2
openbsd-dfe0db320ed7b242f95c66b5d0cb7525257a6882.zip
Remove EVP_PKEY.*attr* API
I ranted enough about this recently. PKCS#12. Microsoft. 'nuff said. ok beck jsing
Diffstat (limited to 'src/lib/libcrypto/x509')
-rw-r--r--src/lib/libcrypto/x509/x509.h20
1 files changed, 1 insertions, 19 deletions
diff --git a/src/lib/libcrypto/x509/x509.h b/src/lib/libcrypto/x509/x509.h
index bcae39aa52..ad3bb0f0f2 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.116 2024/08/31 10:16:52 tb Exp $ */ 1/* $OpenBSD: x509.h,v 1.117 2024/08/31 10:25:38 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 *
@@ -940,24 +940,6 @@ int X509_ATTRIBUTE_count(const X509_ATTRIBUTE *attr);
940ASN1_OBJECT *X509_ATTRIBUTE_get0_object(X509_ATTRIBUTE *attr); 940ASN1_OBJECT *X509_ATTRIBUTE_get0_object(X509_ATTRIBUTE *attr);
941ASN1_TYPE *X509_ATTRIBUTE_get0_type(X509_ATTRIBUTE *attr, int idx); 941ASN1_TYPE *X509_ATTRIBUTE_get0_type(X509_ATTRIBUTE *attr, int idx);
942 942
943int EVP_PKEY_get_attr_count(const EVP_PKEY *key);
944int EVP_PKEY_get_attr_by_NID(const EVP_PKEY *key, int nid,
945 int lastpos);
946int EVP_PKEY_get_attr_by_OBJ(const EVP_PKEY *key, const ASN1_OBJECT *obj,
947 int lastpos);
948X509_ATTRIBUTE *EVP_PKEY_get_attr(const EVP_PKEY *key, int loc);
949X509_ATTRIBUTE *EVP_PKEY_delete_attr(EVP_PKEY *key, int loc);
950int EVP_PKEY_add1_attr(EVP_PKEY *key, X509_ATTRIBUTE *attr);
951int EVP_PKEY_add1_attr_by_OBJ(EVP_PKEY *key,
952 const ASN1_OBJECT *obj, int type,
953 const unsigned char *bytes, int len);
954int EVP_PKEY_add1_attr_by_NID(EVP_PKEY *key,
955 int nid, int type,
956 const unsigned char *bytes, int len);
957int EVP_PKEY_add1_attr_by_txt(EVP_PKEY *key,
958 const char *attrname, int type,
959 const unsigned char *bytes, int len);
960
961int X509_verify_cert(X509_STORE_CTX *ctx); 943int X509_verify_cert(X509_STORE_CTX *ctx);
962 944
963/* lookup a cert from a X509 STACK */ 945/* lookup a cert from a X509 STACK */