summaryrefslogtreecommitdiff
path: root/src/dkimverify.cpp
diff options
context:
space:
mode:
authorJannis Hoffmann <jannis@fehcom.de>2024-07-08 17:27:59 +0200
committerJannis Hoffmann <jannis@fehcom.de>2024-07-08 17:27:59 +0200
commitfde72e50fc280e583b8aec13b4d4af3bd1d205e5 (patch)
tree82942834b95758bb1b129dee6a9c9d13d7542f00 /src/dkimverify.cpp
parent973ae30e7c4f7a1afb385dd3d8eeea178f981445 (diff)
removed unneeded headers; fixed some warnings
Diffstat (limited to 'src/dkimverify.cpp')
-rw-r--r--src/dkimverify.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dkimverify.cpp b/src/dkimverify.cpp
index 90f871f..cddca62 100644
--- a/src/dkimverify.cpp
+++ b/src/dkimverify.cpp
@@ -28,12 +28,12 @@
#include <algorithm>
#include <vector>
+#include <openssl/pem.h>
+
#include "dkim.h"
#include "dnsgettxt.h"
extern "C" {
-#include "stralloc.h"
-
#include "dns.h"
}
@@ -127,7 +127,7 @@ int _DKIM_ReportResult(const char *ResFile, const char *result, const char *reas
return len;
}
-const char *DKIM_ErrorResult(const int res)
+const char *DKIM_ErrorResult(int res)
{
const char *errormsg = "";