summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-07-25 17:02:56 +0200
committerRichard Levitte <levitte@openssl.org>2016-07-25 17:36:39 +0200
commitfe0169b09717b3c3d52c0fba96e1dcf5e8a60d94 (patch)
treee18b998d2adf160cfdb25312dcb89b0ead1b0075 /util
parent3067095e8a2cca3d33fa0af77788bc45da68b76b (diff)
Make it possible for external code to set the certiciate proxy path length
This adds the functions X509_set_proxy_pathlen(), which sets the internal pc path length cache for a given X509 structure, along with X509_get_proxy_pathlen(), which retrieves it. Along with the previously added X509_set_proxy_flag(), this provides the tools needed to manipulate all the information cached on proxy certificates, allowing external code to do what's necessary to have them verified correctly by the libcrypto code. Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'util')
-rw-r--r--util/libcrypto.num2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/libcrypto.num b/util/libcrypto.num
index 0a793790d8..1fb7cf3114 100644
--- a/util/libcrypto.num
+++ b/util/libcrypto.num
@@ -4187,3 +4187,5 @@ X509_STORE_CTX_get_lookup_crls 4131 1_1_0 EXIST::FUNCTION:
X509_STORE_get_verify 4132 1_1_0 EXIST::FUNCTION:
X509_STORE_unlock 4133 1_1_0 EXIST::FUNCTION:
X509_STORE_lock 4134 1_1_0 EXIST::FUNCTION:
+X509_set_proxy_pathlen 4135 1_1_0 EXIST::FUNCTION:
+X509_get_proxy_pathlen 4136 1_1_0 EXIST::FUNCTION: