2 * Copyright (c) 2000-2002,2011,2014 Apple Inc. All Rights Reserved.
4 * The contents of this file constitute Original Code as defined in and are
5 * subject to the Apple Public Source License Version 1.2 (the 'License').
6 * You may not use this file except in compliance with the License. Please obtain
7 * a copy of the License at http://www.apple.com/publicsource and read it before
10 * This Original Code and all software distributed under the License are
11 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS
12 * OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, INCLUDING WITHOUT
13 * LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
14 * PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. Please see the License for the
15 * specific language governing rights and limitations under the License.
18 /* crypto/dh/dh_err.c */
19 /* ====================================================================
20 * Copyright (c) 1999 The OpenSSL Project. All rights reserved.
22 * Redistribution and use in source and binary forms, with or without
23 * modification, are permitted provided that the following conditions
26 * 1. Redistributions of source code must retain the above copyright
27 * notice, this list of conditions and the following disclaimer.
29 * 2. Redistributions in binary form must reproduce the above copyright
30 * notice, this list of conditions and the following disclaimer in
31 * the documentation and/or other materials provided with the
34 * 3. All advertising materials mentioning features or use of this
35 * software must display the following acknowledgment:
36 * "This product includes software developed by the OpenSSL Project
37 * for use in the OpenSSL Toolkit. (http://www.OpenSSL.org/)"
39 * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
40 * endorse or promote products derived from this software without
41 * prior written permission. For written permission, please contact
42 * openssl-core@OpenSSL.org.
44 * 5. Products derived from this software may not be called "OpenSSL"
45 * nor may "OpenSSL" appear in their names without prior written
46 * permission of the OpenSSL Project.
48 * 6. Redistributions of any form whatsoever must retain the following
50 * "This product includes software developed by the OpenSSL Project
51 * for use in the OpenSSL Toolkit (http://www.OpenSSL.org/)"
53 * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
54 * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
55 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
56 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
57 * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
58 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
59 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
60 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
61 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
62 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
63 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
64 * OF THE POSSIBILITY OF SUCH DAMAGE.
65 * ====================================================================
67 * This product includes cryptographic software written by Eric Young
68 * (eay@cryptsoft.com). This product includes software written by Tim
69 * Hudson (tjh@cryptsoft.com).
73 /* NOTE: this file was auto generated by the mkerr.pl script: any changes
74 * made to it will be overwritten when the script next updates this file,
75 * only reason strings will be preserved.
79 #include <openssl/err.h>
80 #include <openssl/dh.h>
82 /* BEGIN ERROR CODES */
84 static ERR_STRING_DATA DH_str_functs
[]=
86 {ERR_PACK(0,DH_F_DHPARAMS_PRINT
,0), "DHparams_print"},
87 {ERR_PACK(0,DH_F_DHPARAMS_PRINT_FP
,0), "DHparams_print_fp"},
88 {ERR_PACK(0,DH_F_DH_COMPUTE_KEY
,0), "DH_compute_key"},
89 {ERR_PACK(0,DH_F_DH_GENERATE_KEY
,0), "DH_generate_key"},
90 {ERR_PACK(0,DH_F_DH_GENERATE_PARAMETERS
,0), "DH_generate_parameters"},
91 {ERR_PACK(0,DH_F_DH_NEW
,0), "DH_new"},
95 static ERR_STRING_DATA DH_str_reasons
[]=
97 {DH_R_NO_PRIVATE_VALUE
,"no private value"},
103 void ERR_load_DH_strings(void)
111 ERR_load_strings(ERR_LIB_DH
,DH_str_functs
);
112 ERR_load_strings(ERR_LIB_DH
,DH_str_reasons
);