diff options
Diffstat (limited to 'src/lib/libcrypto/evp/evp_pkey.c')
| -rw-r--r-- | src/lib/libcrypto/evp/evp_pkey.c | 82 |
1 files changed, 1 insertions, 81 deletions
diff --git a/src/lib/libcrypto/evp/evp_pkey.c b/src/lib/libcrypto/evp/evp_pkey.c index dcbd51f08d..5bec811060 100644 --- a/src/lib/libcrypto/evp/evp_pkey.c +++ b/src/lib/libcrypto/evp/evp_pkey.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: evp_pkey.c,v 1.31 2024/08/22 12:21:07 tb Exp $ */ | 1 | /* $OpenBSD: evp_pkey.c,v 1.32 2024/08/31 10:25:38 tb Exp $ */ |
| 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
| 3 | * project 1999. | 3 | * project 1999. |
| 4 | */ | 4 | */ |
| @@ -140,83 +140,3 @@ error: | |||
| 140 | return NULL; | 140 | return NULL; |
| 141 | } | 141 | } |
| 142 | LCRYPTO_ALIAS(EVP_PKEY2PKCS8); | 142 | LCRYPTO_ALIAS(EVP_PKEY2PKCS8); |
| 143 | |||
| 144 | /* | ||
| 145 | * XXX - delete all the garbage below in the next bump. | ||
| 146 | */ | ||
| 147 | |||
| 148 | int | ||
| 149 | EVP_PKEY_add1_attr_by_NID(EVP_PKEY *pkey, int nid, int type, | ||
| 150 | const unsigned char *bytes, int len) | ||
| 151 | { | ||
| 152 | EVPerror(ERR_R_DISABLED); | ||
| 153 | return 0; | ||
| 154 | } | ||
| 155 | LCRYPTO_ALIAS(EVP_PKEY_add1_attr_by_NID); | ||
| 156 | |||
| 157 | int | ||
| 158 | EVP_PKEY_get_attr_count(const EVP_PKEY *key) | ||
| 159 | { | ||
| 160 | EVPerror(ERR_R_DISABLED); | ||
| 161 | return 0; | ||
| 162 | } | ||
| 163 | LCRYPTO_ALIAS(EVP_PKEY_get_attr_count); | ||
| 164 | |||
| 165 | int | ||
| 166 | EVP_PKEY_get_attr_by_NID(const EVP_PKEY *key, int nid, int lastpos) | ||
| 167 | { | ||
| 168 | EVPerror(ERR_R_DISABLED); | ||
| 169 | return -1; | ||
| 170 | } | ||
| 171 | LCRYPTO_ALIAS(EVP_PKEY_get_attr_by_NID); | ||
| 172 | |||
| 173 | int | ||
| 174 | EVP_PKEY_get_attr_by_OBJ(const EVP_PKEY *key, const ASN1_OBJECT *obj, | ||
| 175 | int lastpos) | ||
| 176 | { | ||
| 177 | EVPerror(ERR_R_DISABLED); | ||
| 178 | return -1; | ||
| 179 | } | ||
| 180 | LCRYPTO_ALIAS(EVP_PKEY_get_attr_by_OBJ); | ||
| 181 | |||
| 182 | X509_ATTRIBUTE * | ||
| 183 | EVP_PKEY_get_attr(const EVP_PKEY *key, int loc) | ||
| 184 | { | ||
| 185 | EVPerror(ERR_R_DISABLED); | ||
| 186 | return NULL; | ||
| 187 | } | ||
| 188 | LCRYPTO_ALIAS(EVP_PKEY_get_attr); | ||
| 189 | |||
| 190 | X509_ATTRIBUTE * | ||
| 191 | EVP_PKEY_delete_attr(EVP_PKEY *key, int loc) | ||
| 192 | { | ||
| 193 | EVPerror(ERR_R_DISABLED); | ||
| 194 | return NULL; | ||
| 195 | } | ||
| 196 | LCRYPTO_ALIAS(EVP_PKEY_delete_attr); | ||
| 197 | |||
| 198 | int | ||
| 199 | EVP_PKEY_add1_attr(EVP_PKEY *key, X509_ATTRIBUTE *attr) | ||
| 200 | { | ||
| 201 | EVPerror(ERR_R_DISABLED); | ||
| 202 | return 0; | ||
| 203 | } | ||
| 204 | LCRYPTO_ALIAS(EVP_PKEY_add1_attr); | ||
| 205 | |||
| 206 | int | ||
| 207 | EVP_PKEY_add1_attr_by_OBJ(EVP_PKEY *key, const ASN1_OBJECT *obj, int type, | ||
| 208 | const unsigned char *bytes, int len) | ||
| 209 | { | ||
| 210 | EVPerror(ERR_R_DISABLED); | ||
| 211 | return 0; | ||
| 212 | } | ||
| 213 | LCRYPTO_ALIAS(EVP_PKEY_add1_attr_by_OBJ); | ||
| 214 | |||
| 215 | int | ||
| 216 | EVP_PKEY_add1_attr_by_txt(EVP_PKEY *key, const char *attrname, int type, | ||
| 217 | const unsigned char *bytes, int len) | ||
| 218 | { | ||
| 219 | EVPerror(ERR_R_DISABLED); | ||
| 220 | return 0; | ||
| 221 | } | ||
| 222 | LCRYPTO_ALIAS(EVP_PKEY_add1_attr_by_txt); | ||
