diff options
Diffstat (limited to 'src/lib/libcrypto/x509/x509_vfy.c')
| -rw-r--r-- | src/lib/libcrypto/x509/x509_vfy.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/lib/libcrypto/x509/x509_vfy.c b/src/lib/libcrypto/x509/x509_vfy.c index 499db35578..5399658639 100644 --- a/src/lib/libcrypto/x509/x509_vfy.c +++ b/src/lib/libcrypto/x509/x509_vfy.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: x509_vfy.c,v 1.141 2024/02/28 12:21:16 tb Exp $ */ | 1 | /* $OpenBSD: x509_vfy.c,v 1.142 2024/03/02 10:40:05 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 | * |
| @@ -2172,15 +2172,6 @@ LCRYPTO_ALIAS(X509_STORE_CTX_set0_crls); | |||
| 2172 | * aren't set then we use the default of SSL client/server. | 2172 | * aren't set then we use the default of SSL client/server. |
| 2173 | */ | 2173 | */ |
| 2174 | int | 2174 | int |
| 2175 | X509_STORE_CTX_purpose_inherit(X509_STORE_CTX *ctx, int def_purpose, | ||
| 2176 | int purpose, int trust) | ||
| 2177 | { | ||
| 2178 | X509error(ERR_R_DISABLED); | ||
| 2179 | return 0; | ||
| 2180 | } | ||
| 2181 | LCRYPTO_ALIAS(X509_STORE_CTX_purpose_inherit); | ||
| 2182 | |||
| 2183 | int | ||
| 2184 | X509_STORE_CTX_set_purpose(X509_STORE_CTX *ctx, int purpose_id) | 2175 | X509_STORE_CTX_set_purpose(X509_STORE_CTX *ctx, int purpose_id) |
| 2185 | { | 2176 | { |
| 2186 | const X509_PURPOSE *purpose; | 2177 | const X509_PURPOSE *purpose; |
