projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change #include filenames from <foo.h> to <openssl.h>.
[openssl.git]
/
crypto
/
pem
/
pem_err.c
diff --git
a/crypto/pem/pem_err.c
b/crypto/pem/pem_err.c
index b8d95204eabbc89b2950b4dfc6332fc33d85a98d..ec138f05e1c8044b3d8b748d678109fa2521ed60 100644
(file)
--- a/
crypto/pem/pem_err.c
+++ b/
crypto/pem/pem_err.c
@@
-56,10
+56,11
@@
* [including the GNU Public Licence.]
*/
#include <stdio.h>
* [including the GNU Public Licence.]
*/
#include <stdio.h>
-#include
"err.h"
-#include
"pem.h"
+#include
<openssl/err.h>
+#include
<openssl/pem.h>
/* BEGIN ERROR CODES */
/* BEGIN ERROR CODES */
+#ifndef NO_ERR
static ERR_STRING_DATA PEM_str_functs[]=
{
{ERR_PACK(0,PEM_F_DEF_CALLBACK,0), "DEF_CALLBACK"},
static ERR_STRING_DATA PEM_str_functs[]=
{
{ERR_PACK(0,PEM_F_DEF_CALLBACK,0), "DEF_CALLBACK"},
@@
-103,14
+104,19
@@
static ERR_STRING_DATA PEM_str_reasons[]=
{0,NULL},
};
{0,NULL},
};
-void ERR_load_PEM_strings()
+#endif
+
+void ERR_load_PEM_strings(void)
{
static int init=1;
if (init)
{
init=0;
{
static int init=1;
if (init)
{
init=0;
+#ifndef NO_ERR
ERR_load_strings(ERR_LIB_PEM,PEM_str_functs);
ERR_load_strings(ERR_LIB_PEM,PEM_str_reasons);
ERR_load_strings(ERR_LIB_PEM,PEM_str_functs);
ERR_load_strings(ERR_LIB_PEM,PEM_str_reasons);
+#endif
+
}
}
}
}