diff options
author | Greg Hudson <ghudson@mit.edu> | 2010-07-03 19:02:41 +0000 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2010-07-03 19:02:41 +0000 |
commit | ae8860583d2c2356b165a7936b8bcd2984e1a9a1 (patch) | |
tree | a1dbf5b9165e80a612b49d32a02cb06ffae4e5df /src/plugins/kdb/db2/kdb_ext.c | |
parent | 3f50d56732624321bf3c33d3bb3f5df67d56a580 (diff) | |
download | krb5-ae8860583d2c2356b165a7936b8bcd2984e1a9a1.tar.gz krb5-ae8860583d2c2356b165a7936b8bcd2984e1a9a1.tar.xz krb5-ae8860583d2c2356b165a7936b8bcd2984e1a9a1.zip |
Use KRB5_PLUGIN_OP_NOTSUPP uniformly as the error code for operations
not supported by a KDB module. (Previously KRB5_KDB_DBTYPE_NOSUP was
used in some cases and KRB5_PLUGIN_OP_NOTSUPP in others.)
ticket: 6749
status: open
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24170 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/plugins/kdb/db2/kdb_ext.c')
-rw-r--r-- | src/plugins/kdb/db2/kdb_ext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/kdb/db2/kdb_ext.c b/src/plugins/kdb/db2/kdb_ext.c index f75767db0..1895b70e4 100644 --- a/src/plugins/kdb/db2/kdb_ext.c +++ b/src/plugins/kdb/db2/kdb_ext.c @@ -80,7 +80,7 @@ krb5_db2_invoke(krb5_context context, const krb5_data *req, krb5_data *rep) { - krb5_error_code code = KRB5_KDB_DBTYPE_NOSUP; + krb5_error_code code = KRB5_PLUGIN_OP_NOTSUPP; switch (method) { case KRB5_KDB_METHOD_CHECK_POLICY_AS: |