summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2014-06-01 10:44:51 -0400
committerGreg Hudson <ghudson@mit.edu>2014-06-03 12:08:36 -0400
commita12a0e57a8b9c752059fd0ee370c93ea589e4b7b (patch)
tree39ffc22f88b570a93e394b6725edc517dc94d92e /src
parent3e2c7cc557048faac3400ae41b0228bd37a82a4c (diff)
downloadkrb5-a12a0e57a8b9c752059fd0ee370c93ea589e4b7b.tar.gz
krb5-a12a0e57a8b9c752059fd0ee370c93ea589e4b7b.tar.xz
krb5-a12a0e57a8b9c752059fd0ee370c93ea589e4b7b.zip
Remove stub pkinit_mapping_file code
As contributed, the PKINIT code contained code to read a mapping filename, but never used the resulting structure variable. Get rid of the structure field and the code to populate it.
Diffstat (limited to 'src')
-rw-r--r--src/plugins/preauth/pkinit/pkinit.h2
-rw-r--r--src/plugins/preauth/pkinit/pkinit_identity.c1
-rw-r--r--src/plugins/preauth/pkinit/pkinit_srv.c4
3 files changed, 0 insertions, 7 deletions
diff --git a/src/plugins/preauth/pkinit/pkinit.h b/src/plugins/preauth/pkinit/pkinit.h
index ee1334b8b..efaa16218 100644
--- a/src/plugins/preauth/pkinit/pkinit.h
+++ b/src/plugins/preauth/pkinit/pkinit.h
@@ -89,7 +89,6 @@ extern int longhorn; /* XXX Talking to a Longhorn server? */
#define KRB5_CONF_PKINIT_KDC_HOSTNAME "pkinit_kdc_hostname"
#define KRB5_CONF_PKINIT_KDC_OCSP "pkinit_kdc_ocsp"
#define KRB5_CONF_PKINIT_LONGHORN "pkinit_longhorn"
-#define KRB5_CONF_PKINIT_MAPPING_FILE "pkinit_mapping_file"
#define KRB5_CONF_PKINIT_POOL "pkinit_pool"
#define KRB5_CONF_PKINIT_REQUIRE_CRL_CHECKING "pkinit_require_crl_checking"
#define KRB5_CONF_PKINIT_REVOKE "pkinit_revoke"
@@ -194,7 +193,6 @@ typedef struct _pkinit_identity_opts {
char **intermediates;
char **crls;
char *ocsp;
- char *dn_mapping_file;
int idtype;
char *cert_filename;
char *key_filename;
diff --git a/src/plugins/preauth/pkinit/pkinit_identity.c b/src/plugins/preauth/pkinit/pkinit_identity.c
index eb198f4f7..177a2cad8 100644
--- a/src/plugins/preauth/pkinit/pkinit_identity.c
+++ b/src/plugins/preauth/pkinit/pkinit_identity.c
@@ -126,7 +126,6 @@ pkinit_init_identity_opts(pkinit_identity_opts **idopts)
opts->intermediates = NULL;
opts->crls = NULL;
opts->ocsp = NULL;
- opts->dn_mapping_file = NULL;
opts->cert_filename = NULL;
opts->key_filename = NULL;
diff --git a/src/plugins/preauth/pkinit/pkinit_srv.c b/src/plugins/preauth/pkinit/pkinit_srv.c
index 1179216b5..190e85441 100644
--- a/src/plugins/preauth/pkinit/pkinit_srv.c
+++ b/src/plugins/preauth/pkinit/pkinit_srv.c
@@ -1177,10 +1177,6 @@ pkinit_init_kdc_profile(krb5_context context, pkinit_kdc_context plgctx)
KRB5_CONF_PKINIT_KDC_OCSP,
&plgctx->idopts->ocsp);
- pkinit_kdcdefault_string(context, plgctx->realmname,
- KRB5_CONF_PKINIT_MAPPING_FILE,
- &plgctx->idopts->dn_mapping_file);
-
pkinit_kdcdefault_integer(context, plgctx->realmname,
KRB5_CONF_PKINIT_DH_MIN_BITS,
PKINIT_DEFAULT_DH_MIN_BITS,