Deleted Added
full compact
pem_err.c (160814) pem_err.c (167612)
1/* crypto/pem/pem_err.c */
2/* ====================================================================
3 * Copyright (c) 1999-2005 The OpenSSL Project. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *

--- 110 unchanged lines hidden (view full) ---

119{ERR_REASON(PEM_R_UNSUPPORTED_ENCRYPTION),"unsupported encryption"},
120{0,NULL}
121 };
122
123#endif
124
125void ERR_load_PEM_strings(void)
126 {
1/* crypto/pem/pem_err.c */
2/* ====================================================================
3 * Copyright (c) 1999-2005 The OpenSSL Project. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *

--- 110 unchanged lines hidden (view full) ---

119{ERR_REASON(PEM_R_UNSUPPORTED_ENCRYPTION),"unsupported encryption"},
120{0,NULL}
121 };
122
123#endif
124
125void ERR_load_PEM_strings(void)
126 {
127 static int init=1;
127#ifndef OPENSSL_NO_ERR
128
128
129 if (init)
129 if (ERR_func_error_string(PEM_str_functs[0].error) == NULL)
130 {
130 {
131 init=0;
132#ifndef OPENSSL_NO_ERR
133 ERR_load_strings(0,PEM_str_functs);
134 ERR_load_strings(0,PEM_str_reasons);
131 ERR_load_strings(0,PEM_str_functs);
132 ERR_load_strings(0,PEM_str_reasons);
135#endif
136
137 }
133 }
134#endif
138 }
135 }