2N/A/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ 2N/A * Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved. 2N/A * COPYRIGHT (C) 2007 2N/A * THE REGENTS OF THE UNIVERSITY OF MICHIGAN 2N/A * ALL RIGHTS RESERVED 2N/A * Permission is granted to use, copy, create derivative works 2N/A * and redistribute this software and such derivative works 2N/A * for any purpose, so long as the name of The University of 2N/A * Michigan is not used in any advertising or publicity 2N/A * pertaining to the use of distribution of this software 2N/A * without specific, written prior authorization. If the 2N/A * above copyright notice or any other identification of the 2N/A * University of Michigan is included in any copy of any 2N/A * portion of this software, then the disclaimer below must 2N/A * THIS SOFTWARE IS PROVIDED AS IS, WITHOUT REPRESENTATION 2N/A * FROM THE UNIVERSITY OF MICHIGAN AS TO ITS FITNESS FOR ANY 2N/A * PURPOSE, AND WITHOUT WARRANTY BY THE UNIVERSITY OF 2N/A * MICHIGAN OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING 2N/A * WITHOUT LIMITATION THE IMPLIED WARRANTIES OF 2N/A * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE 2N/A * REGENTS OF THE UNIVERSITY OF MICHIGAN SHALL NOT BE LIABLE 2N/A * FOR ANY DAMAGES, INCLUDING SPECIAL, INDIRECT, INCIDENTAL, OR 2N/A * CONSEQUENTIAL DAMAGES, WITH RESPECT TO ANY CLAIM ARISING 2N/A * OUT OF OR IN CONNECTION WITH THE USE OF THE SOFTWARE, EVEN 2N/A * IF IT HAS BEEN OR IS HEREAFTER ADVISED OF THE POSSIBILITY OF 2N/A/* Solaris Kerberos */ 2N/A default:
return "INVALID";
break;
2N/A default:
return "INVALID";
break;
2N/A /* Split string into attr=value substrings */ 2N/A /* If there is no "=", this is a pkcs11 module name */ 2N/A pkiDebug(
"%s: Unsupported type while processing '%s'\n",
2N/A "Unsupported type while processing '%s'\n",
2N/A /* Solaris Kerberos: Improved error messages */ 2N/A gettext(
"failed to find environmental variable \'%s\'"),
2N/A /* Solaris Kerberos: not reached */ 2N/A "Internal error parsing X509_user_identity\n");
2N/A * If identity was specified, use that. (For the kdc, this 2N/A * is specified as pkinit_identity in the kdc.conf. For users, 2N/A * this is specified on the command line via X509_user_identity.) 2N/A * If a user did not specify identity on the command line, 2N/A * then we will try alternatives which may have been specified 2N/A * in the config file. 2N/A /* Solaris Kerberos 183resync: 1? */ 2N/A /* Tell crypto code to use the "default" */ 2N/A pkiDebug(
"%s: Failed while selecting default certificate\n",
2N/A }
/* Not anonymous principal */