comp_err.c revision 109998
118334Speter/* crypto/comp/comp_err.c */ 2132718Skan/* ==================================================================== 3169689Skan * Copyright (c) 1999 The OpenSSL Project. All rights reserved. 418334Speter * 590075Sobrien * Redistribution and use in source and binary forms, with or without 618334Speter * modification, are permitted provided that the following conditions 790075Sobrien * are met: 890075Sobrien * 990075Sobrien * 1. Redistributions of source code must retain the above copyright 1090075Sobrien * notice, this list of conditions and the following disclaimer. 1118334Speter * 1290075Sobrien * 2. Redistributions in binary form must reproduce the above copyright 1390075Sobrien * notice, this list of conditions and the following disclaimer in 1490075Sobrien * the documentation and/or other materials provided with the 1590075Sobrien * distribution. 1618334Speter * 1790075Sobrien * 3. All advertising materials mentioning features or use of this 1890075Sobrien * software must display the following acknowledgment: 19169689Skan * "This product includes software developed by the OpenSSL Project 20169689Skan * for use in the OpenSSL Toolkit. (http://www.OpenSSL.org/)" 2118334Speter * 2218334Speter * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to 2318334Speter * endorse or promote products derived from this software without 2418334Speter * prior written permission. For written permission, please contact 2518334Speter * openssl-core@OpenSSL.org. 2618334Speter * 2718334Speter * 5. Products derived from this software may not be called "OpenSSL" 2818334Speter * nor may "OpenSSL" appear in their names without prior written 2918334Speter * permission of the OpenSSL Project. 3018334Speter * 3118334Speter * 6. Redistributions of any form whatsoever must retain the following 3218334Speter * acknowledgment: 3318334Speter * "This product includes software developed by the OpenSSL Project 3418334Speter * for use in the OpenSSL Toolkit (http://www.OpenSSL.org/)" 3518334Speter * 3618334Speter * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY 3718334Speter * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 3818334Speter * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 3918334Speter * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR 4018334Speter * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 4118334Speter * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 4218334Speter * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 4318334Speter * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 4418334Speter * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 4518334Speter * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 4618334Speter * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 4718334Speter * OF THE POSSIBILITY OF SUCH DAMAGE. 4818334Speter * ==================================================================== 4918334Speter * 5018334Speter * This product includes cryptographic software written by Eric Young 5118334Speter * (eay@cryptsoft.com). This product includes software written by Tim 5218334Speter * Hudson (tjh@cryptsoft.com). 5318334Speter * 5418334Speter */ 5518334Speter 5618334Speter/* NOTE: this file was auto generated by the mkerr.pl script: any changes 5718334Speter * made to it will be overwritten when the script next updates this file, 5818334Speter * only reason strings will be preserved. 5918334Speter */ 6018334Speter 6118334Speter#include <stdio.h> 6218334Speter#include <openssl/err.h> 6318334Speter#include <openssl/comp.h> 6418334Speter 6518334Speter/* BEGIN ERROR CODES */ 6618334Speter#ifndef OPENSSL_NO_ERR 6718334Speterstatic ERR_STRING_DATA COMP_str_functs[]= 6818334Speter { 6918334Speter{0,NULL} 7018334Speter }; 7118334Speter 7218334Speterstatic ERR_STRING_DATA COMP_str_reasons[]= 7318334Speter { 7418334Speter{0,NULL} 7518334Speter }; 7618334Speter 7718334Speter#endif 7818334Speter 7918334Spetervoid ERR_load_COMP_strings(void) 8018334Speter { 8118334Speter static int init=1; 8218334Speter 8318334Speter if (init) 8418334Speter { 8518334Speter init=0; 8618334Speter#ifndef OPENSSL_NO_ERR 8718334Speter ERR_load_strings(ERR_LIB_COMP,COMP_str_functs); 8818334Speter ERR_load_strings(ERR_LIB_COMP,COMP_str_reasons); 8918334Speter#endif 9018334Speter 9118334Speter } 9218334Speter } 9318334Speter