opnsense-ports/security/openscep/files/patch-lib_init.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

22 lines
556 B
C

--- lib/init.c.orig Wed Feb 20 02:40:06 2002
+++ lib/init.c Thu May 19 16:23:01 2005
@@ -21,6 +21,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
+#include <openscep_err.h>
#define TMPPATH "/var/tmp/openscep"
@@ -66,6 +67,11 @@
ERR_load_crypto_strings();
if (debug)
fprintf(stderr, "%s:%d: crypto strings loaded\n", __FILE__,
+ __LINE__);
+
+ ERR_load_OPENSCEP_strings();
+ if (debug)
+ fprintf(stderr, "%s:%d: openscep strings loaded\n", __FILE__,
__LINE__);
/* add the encryption algorithms available */