diff options
Diffstat (limited to 'src/lib/libcrypto/x509/x509_vfy.c')
-rw-r--r-- | src/lib/libcrypto/x509/x509_vfy.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509/x509_vfy.c b/src/lib/libcrypto/x509/x509_vfy.c index 2f69017e96..1f52779911 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.89 2021/09/03 08:58:53 beck Exp $ */ | 1 | /* $OpenBSD: x509_vfy.c,v 1.89.2.1 2021/11/24 09:28:56 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 | * |
@@ -1960,8 +1960,12 @@ internal_verify(X509_STORE_CTX *ctx) | |||
1960 | return x509_vfy_internal_verify(ctx, 0); | 1960 | return x509_vfy_internal_verify(ctx, 0); |
1961 | } | 1961 | } |
1962 | 1962 | ||
1963 | /* | ||
1964 | * Internal verify, but with a chain where the verification | ||
1965 | * math has already been performed. | ||
1966 | */ | ||
1963 | int | 1967 | int |
1964 | x509_vfy_callback_indicate_success(X509_STORE_CTX *ctx) | 1968 | x509_vfy_callback_indicate_completion(X509_STORE_CTX *ctx) |
1965 | { | 1969 | { |
1966 | return x509_vfy_internal_verify(ctx, 1); | 1970 | return x509_vfy_internal_verify(ctx, 1); |
1967 | } | 1971 | } |