diff options
| author | tb <> | 2024-08-31 10:25:38 +0000 |
|---|---|---|
| committer | tb <> | 2024-08-31 10:25:38 +0000 |
| commit | 1879b1c335b79500e4608d064e6a67c172898224 (patch) | |
| tree | 25c9f27a907b66043fdde3e70d610ed8b539167e /src/lib/libcrypto/x509/x509.h | |
| parent | 990e38b510e53ec892676a4b297d968927b99082 (diff) | |
| download | openbsd-1879b1c335b79500e4608d064e6a67c172898224.tar.gz openbsd-1879b1c335b79500e4608d064e6a67c172898224.tar.bz2 openbsd-1879b1c335b79500e4608d064e6a67c172898224.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/x509.h')
| -rw-r--r-- | src/lib/libcrypto/x509/x509.h | 20 |
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); | |||
| 940 | ASN1_OBJECT *X509_ATTRIBUTE_get0_object(X509_ATTRIBUTE *attr); | 940 | ASN1_OBJECT *X509_ATTRIBUTE_get0_object(X509_ATTRIBUTE *attr); |
| 941 | ASN1_TYPE *X509_ATTRIBUTE_get0_type(X509_ATTRIBUTE *attr, int idx); | 941 | ASN1_TYPE *X509_ATTRIBUTE_get0_type(X509_ATTRIBUTE *attr, int idx); |
| 942 | 942 | ||
| 943 | int EVP_PKEY_get_attr_count(const EVP_PKEY *key); | ||
| 944 | int EVP_PKEY_get_attr_by_NID(const EVP_PKEY *key, int nid, | ||
| 945 | int lastpos); | ||
| 946 | int EVP_PKEY_get_attr_by_OBJ(const EVP_PKEY *key, const ASN1_OBJECT *obj, | ||
| 947 | int lastpos); | ||
| 948 | X509_ATTRIBUTE *EVP_PKEY_get_attr(const EVP_PKEY *key, int loc); | ||
| 949 | X509_ATTRIBUTE *EVP_PKEY_delete_attr(EVP_PKEY *key, int loc); | ||
| 950 | int EVP_PKEY_add1_attr(EVP_PKEY *key, X509_ATTRIBUTE *attr); | ||
| 951 | int EVP_PKEY_add1_attr_by_OBJ(EVP_PKEY *key, | ||
| 952 | const ASN1_OBJECT *obj, int type, | ||
| 953 | const unsigned char *bytes, int len); | ||
| 954 | int EVP_PKEY_add1_attr_by_NID(EVP_PKEY *key, | ||
| 955 | int nid, int type, | ||
| 956 | const unsigned char *bytes, int len); | ||
| 957 | int EVP_PKEY_add1_attr_by_txt(EVP_PKEY *key, | ||
| 958 | const char *attrname, int type, | ||
| 959 | const unsigned char *bytes, int len); | ||
| 960 | |||
| 961 | int X509_verify_cert(X509_STORE_CTX *ctx); | 943 | int 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 */ |
