wsd/Auth.hpp | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit 496bf321a7546475a01bedbddc1f6ec39e91bc14
Author: Tor Lillqvist <[email protected]>
AuthorDate: Tue Sep 4 12:02:12 2018 +0300
Commit: Tor Lillqvist <[email protected]>
CommitDate: Tue Sep 4 12:17:46 2018 +0300
Make this file compile for iOS
diff --git a/wsd/Auth.hpp b/wsd/Auth.hpp
index 96bcb86b6..2ad47a3f1 100644
--- a/wsd/Auth.hpp
+++ b/wsd/Auth.hpp
@@ -14,8 +14,10 @@
#include <cassert>
#include <string>
+#ifdef __linux
#include <Poco/Crypto/RSADigestEngine.h>
#include <Poco/Crypto/RSAKey.h>
+#endif
#include <Poco/Net/HTTPRequest.h>
#include <Poco/URI.h>
@@ -65,6 +67,8 @@ public:
virtual bool verify(const std::string& token) = 0;
};
+#ifdef __linux
+
/// JWT Authorization.
class JWTAuth : public AuthBase
{
@@ -131,4 +135,6 @@ private:
#endif
+#endif
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits