ssl_err2.c revision 55714
179543Sru/* ssl/ssl_err2.c */ 279543Sru/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 369626Sru * All rights reserved. 469626Sru * 569626Sru * This package is an SSL implementation written 669626Sru * by Eric Young (eay@cryptsoft.com). 769626Sru * The implementation was written so as to conform with Netscapes SSL. 869626Sru * 969626Sru * This library is free for commercial and non-commercial use as long as 1069626Sru * the following conditions are aheared to. The following conditions 1169626Sru * apply to all code found in this distribution, be it the RC4, RSA, 1269626Sru * lhash, DES, etc., code; not just the SSL code. The SSL documentation 1369626Sru * included with this distribution is covered by the same copyright terms 1469626Sru * except that the holder is Tim Hudson (tjh@cryptsoft.com). 1569626Sru * 1669626Sru * Copyright remains Eric Young's, and as such any Copyright notices in 1769626Sru * the code are not to be removed. 1869626Sru * If this package is used in a product, Eric Young should be given attribution 1969626Sru * as the author of the parts of the library used. 2069626Sru * This can be in the form of a textual message at program startup or 2169626Sru * in documentation (online or textual) provided with the package. 2269626Sru * 2369626Sru * Redistribution and use in source and binary forms, with or without 2455839Sasmodai * modification, are permitted provided that the following conditions 2555839Sasmodai * are met: 2655839Sasmodai * 1. Redistributions of source code must retain the copyright 2755839Sasmodai * notice, this list of conditions and the following disclaimer. 2869626Sru * 2. Redistributions in binary form must reproduce the above copyright 2969626Sru * notice, this list of conditions and the following disclaimer in the 3055839Sasmodai * documentation and/or other materials provided with the distribution. 3169626Sru * 3. All advertising materials mentioning features or use of this software 3255839Sasmodai * must display the following acknowledgement: 3375584Sru * "This product includes cryptographic software written by 3455839Sasmodai * Eric Young (eay@cryptsoft.com)" 3555839Sasmodai * The word 'cryptographic' can be left out if the rouines from the library 3655839Sasmodai * being used are not cryptographic related :-). 3755839Sasmodai * 4. If you include any Windows specific code (or a derivative thereof) from 3855839Sasmodai * the apps directory (application code) you must include an acknowledgement: 3955839Sasmodai * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)" 4075584Sru * 4175584Sru * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND 4275584Sru * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 4375584Sru * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 4475584Sru * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 4575584Sru * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 4675584Sru * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 4775584Sru * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 4875584Sru * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 4955839Sasmodai * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 5055839Sasmodai * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 5155839Sasmodai * SUCH DAMAGE. 5275584Sru * 5375584Sru * The licence and distribution terms for any publically available version or 5475584Sru * derivative of this code cannot be changed. i.e. this code cannot simply be 5555839Sasmodai * copied and put under another distribution licence 5675584Sru * [including the GNU Public Licence.] 5755839Sasmodai */ 5855839Sasmodai 5969626Sru#include <stdio.h> 6069626Sru#include <openssl/err.h> 6169626Sru#include <openssl/ssl.h> 6269626Sru 6369626Sruvoid SSL_load_error_strings(void) 6469626Sru { 6569626Sru#ifndef NO_ERR 6655839Sasmodai ERR_load_crypto_strings(); 6775584Sru ERR_load_SSL_strings(); 6875584Sru#endif 6975584Sru } 7075584Sru 7175584Sru