#include <openssl/ssl.h>
#include <libpathfinder.h>
-
+#include <stdlib.h>
#if defined(HAVE_SSLCURL)
#include <curl/curl.h>
#endif
-#include "includes.h"
+#include "libbb/libbb.h"
#include "opkg_message.h"
#if defined(HAVE_SSLCURL) || defined(HAVE_OPENSSL)
int validated = pathfinder_dbus_verify(certdata_str, policy, 0, 0, &errmsg);
if (!validated)
- fprintf(stderr, "curlcb_pathfinder: Path verification failed: %s\n", errmsg);
+ opkg_msg(ERROR, "Path verification failed: %s.\n", errmsg);
free(certdata_str);
free(errmsg);