/*********************************************************************** * * Copyright (C) 2006 Novell, Inc. All Rights Reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; version 2.1 * of the License. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, Novell, Inc. * * To contact Novell about this file by physical or electronic mail, * you may find current contact information at www.novell.com. * * Author: Juan Carlos Luciani * ***********************************************************************/ //===[ Include files ]===================================================== #include "internal.h" //===[ Type definitions ]================================================== //===[ Function prototypes ]=============================================== //===[ Global variables ]================================================== //++======================================================================= bool InvalidCertsFromHostAllowed( IN char *pHostName) // // Arguments: // // Returns: // // Abstract: // // Notes: // // L0 //=======================================================================-- { bool retStatus = false; DbgTrace(2, "-InvalidCertsFromHostAllowed- Start\n", 0); // tbd DbgTrace(2, "-InvalidCertsFromHostAllowed- End, retStatus = %0X\n", retStatus); return retStatus; } //++======================================================================= void AllowInvalidCertsFromHost( IN char *pHostName) // // Arguments: // // Returns: // // Abstract: // // Notes: // // L0 //=======================================================================-- { bool retStatus = true; DbgTrace(2, "-AllowInvalidCertsFromHost- Start\n", 0); // tbd DbgTrace(2, "-AllowInvalidCertsFromHost- End\n", 0); } //++======================================================================= bool UserApprovedCert( IN char *pHostName, IN char *pCertSubject, IN char *pCertIssuer, IN long invalidCertFlags) // // Arguments: // // Returns: // // Abstract: // // Notes: // // L0 //=======================================================================-- { bool retStatus = false; DbgTrace(2, "-UserApprovedCert- Start\n", 0); // tbd if (invalidCertFlags & INVALID_CERT_CN_FLAG) { DbgTrace(0, "-UserApprovedCert- Invalid Cert from Host = %s\n", pHostName); } if (invalidCertFlags & INVALID_CERT_CA_FLAG) { DbgTrace(0, "-UserApprovedCert- Invalid CA in Cert from Host = %s\n", pHostName); } if (invalidCertFlags & INVALID_CERT_DATE_FLAG) { DbgTrace(0, "-UserApprovedCert- Invalid DATE in Cert from Host = %s\n", pHostName); } DbgTrace(0, "-UserApprovedCert- Approving Invalid Cert from Host = %s\n", pHostName); DbgTrace(0, "-UserApprovedCert- Invalid Cert Subject = %s\n", pCertSubject); DbgTrace(0, "-UserApprovedCert- Invalid Cert Issuer = %s\n", pCertIssuer); DbgTrace(2, "-UserApprovedCert- End, retStatus = %0X\n", retStatus); return retStatus; } //++======================================================================= //++======================================================================= //++=======================================================================