diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/usr.bin/openssl/verify.c | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/src/usr.bin/openssl/verify.c b/src/usr.bin/openssl/verify.c index 937f350a3a..6d915009b0 100644 --- a/src/usr.bin/openssl/verify.c +++ b/src/usr.bin/openssl/verify.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: verify.c,v 1.10 2020/11/03 18:39:18 tb Exp $ */ | 1 | /* $OpenBSD: verify.c,v 1.11 2020/11/03 18:42:52 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 | * | 
| @@ -68,9 +68,9 @@ | |||
| 68 | #include <openssl/x509.h> | 68 | #include <openssl/x509.h> | 
| 69 | #include <openssl/x509v3.h> | 69 | #include <openssl/x509v3.h> | 
| 70 | 70 | ||
| 71 | static int cb(int ok, X509_STORE_CTX * ctx); | 71 | static int cb(int ok, X509_STORE_CTX *ctx); | 
| 72 | static int check(X509_STORE * ctx, char *file, STACK_OF(X509) * uchain, | 72 | static int check(X509_STORE *ctx, char *file, STACK_OF(X509) *uchain, | 
| 73 | STACK_OF(X509) * tchain, STACK_OF(X509_CRL) * crls); | 73 | STACK_OF(X509) *tchain, STACK_OF(X509_CRL) *crls); | 
| 74 | static int vflags = 0; | 74 | static int vflags = 0; | 
| 75 | 75 | ||
| 76 | static struct { | 76 | static struct { | 
| @@ -410,7 +410,7 @@ check(X509_STORE *ctx, char *file, STACK_OF(X509) *uchain, | |||
| 410 | } | 410 | } | 
| 411 | 411 | ||
| 412 | static int | 412 | static int | 
| 413 | cb(int ok, X509_STORE_CTX * ctx) | 413 | cb(int ok, X509_STORE_CTX *ctx) | 
| 414 | { | 414 | { | 
| 415 | int cert_error = X509_STORE_CTX_get_error(ctx); | 415 | int cert_error = X509_STORE_CTX_get_error(ctx); | 
| 416 | X509 *current_cert = X509_STORE_CTX_get_current_cert(ctx); | 416 | X509 *current_cert = X509_STORE_CTX_get_current_cert(ctx); | 
