diff options
author | jmagne <jmagne@c9f7a03b-bd48-0410-a16d-cbbf54688b0b> | 2010-08-27 23:27:40 +0000 |
---|---|---|
committer | jmagne <jmagne@c9f7a03b-bd48-0410-a16d-cbbf54688b0b> | 2010-08-27 23:27:40 +0000 |
commit | 3cdba29da5b81f90e361975338ecc1f9eea48f00 (patch) | |
tree | 38c5fead74d0de506babdb26cb9a9b019c1b369d /pki/base/tps/src/tus/tus_db.c | |
parent | 7175f637c3d4fe8c2578b79d37019a8daf07da8c (diff) | |
download | pki-3cdba29da5b81f90e361975338ecc1f9eea48f00.tar.gz pki-3cdba29da5b81f90e361975338ecc1f9eea48f00.tar.xz pki-3cdba29da5b81f90e361975338ecc1f9eea48f00.zip |
Fix Bug 579790 - errors in ESC communications can leave unusable tokens and inconsistent data in TPS.
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1250 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
Diffstat (limited to 'pki/base/tps/src/tus/tus_db.c')
-rw-r--r-- | pki/base/tps/src/tus/tus_db.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pki/base/tps/src/tus/tus_db.c b/pki/base/tps/src/tus/tus_db.c index b2c72adc4..3fd02a1ad 100644 --- a/pki/base/tps/src/tus/tus_db.c +++ b/pki/base/tps/src/tus/tus_db.c @@ -3849,6 +3849,11 @@ TPS_PUBLIC int allow_token_reenroll(char *cn) return allow_token_enroll_policy(cn, "RE_ENROLL=YES"); } +TPS_PUBLIC int force_token_format(char *cn) +{ + return allow_token_enroll_policy(cn,"FORCE_FORMAT=YES"); +} + TPS_PUBLIC int allow_token_enroll_policy(char *cn, const char *policy) { LDAPMessage *result = NULL; |