diff options
author | Richard Levitte <levitte@openssl.org> | 2016-07-22 16:45:33 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-07-23 11:35:23 +0200 |
commit | 9961cb77684aa26fe7302e691b7d16e53432a625 (patch) | |
tree | e62f9b5b78de1c5f2107ba4d400133753a3d272f /include | |
parent | 8b9546c7085733c88f1df66da48d48a3bc5230a2 (diff) |
Make it possible for external code to flag a certificate as a proxy one.
This adds the function X509_set_proxy_flag(), which sets the internal flag
EXFLAG_PROXY on a given X509 structure.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/x509v3.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/openssl/x509v3.h b/include/openssl/x509v3.h index 89be5f9c14..b37f52bcab 100644 --- a/include/openssl/x509v3.h +++ b/include/openssl/x509v3.h @@ -649,6 +649,7 @@ int X509_supported_extension(X509_EXTENSION *ex); int X509_PURPOSE_set(int *p, int purpose); int X509_check_issued(X509 *issuer, X509 *subject); int X509_check_akid(X509 *issuer, AUTHORITY_KEYID *akid); +void X509_set_proxy_flag(X509 *x); uint32_t X509_get_extension_flags(X509 *x); uint32_t X509_get_key_usage(X509 *x); |