use KRB5_KT_BADNAME
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14312 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997 - 2003 Kungliga Tekniska H<>gskolan
|
||||
* Copyright (c) 1997 - 2004 Kungliga Tekniska H<>gskolan
|
||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||
* All rights reserved.
|
||||
*
|
||||
@@ -48,7 +48,7 @@ krb5_kt_register(krb5_context context,
|
||||
|
||||
if (strlen(ops->prefix) > KRB5_KT_PREFIX_MAX_LEN - 1) {
|
||||
krb5_set_error_string(context, "krb5_kt_register; prefix too long");
|
||||
return KRB5_KT_NAME_TOOLONG;
|
||||
return KRB5_KT_BADNAME;
|
||||
}
|
||||
|
||||
tmp = realloc(context->kt_types,
|
||||
|
Reference in New Issue
Block a user