diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/x509.h | 1 | ||||
-rw-r--r-- | include/openssl/x509_vfy.h | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/include/openssl/x509.h b/include/openssl/x509.h index 167aae89b5..4133fc1e74 100644 --- a/include/openssl/x509.h +++ b/include/openssl/x509.h @@ -1070,6 +1070,7 @@ void ERR_load_X509_strings(void); /* Function codes. */ # define X509_F_ADD_CERT_DIR 100 +# define X509_F_BUILD_CHAIN 106 # define X509_F_BY_FILE_CTRL 101 # define X509_F_CHECK_POLICY 145 # define X509_F_DIR_CTRL 102 diff --git a/include/openssl/x509_vfy.h b/include/openssl/x509_vfy.h index f949bd9399..b78b59c8f5 100644 --- a/include/openssl/x509_vfy.h +++ b/include/openssl/x509_vfy.h @@ -240,8 +240,8 @@ struct x509_store_ctx_st { /* X509_STORE_CTX */ /* The following is built up */ /* if 0, rebuild chain */ int valid; - /* index of last untrusted cert */ - int last_untrusted; + /* number of untrusted certs */ + int num_untrusted; /* chain of X509s - built up and trusted */ STACK_OF(X509) *chain; /* Valid policy tree */ |