Add missing NULL check in X509V3_parse_list()
[openssl.git] / crypto / pem / pem2.h
index 4a016aacd2a32dfee66cff57a8a09040db6ad149..84897d5ec35b6a53ce9e5d0f4d1faab3666cbb41 100644 (file)
@@ -6,7 +6,7 @@
  * are met:
  *
  * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer. 
+ *    notice, this list of conditions and the following disclaimer.
  *
  * 2. Redistributions in binary form must reproduce the above copyright
  *    notice, this list of conditions and the following disclaimer in
  * Ben 30 Jan 1999.
  */
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifndef HEADER_PEM_H
 void ERR_load_PEM_strings(void);
+#endif
+
+#ifdef __cplusplus
+}
+#endif