summaryrefslogtreecommitdiffstats
path: root/src/responder
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2011-12-02 11:59:20 -0500
committerStephen Gallagher <sgallagh@redhat.com>2011-12-05 13:49:58 -0500
commitd488258da8c9d419af6d8ac4f88732b6494455c4 (patch)
treea3000643d499856820d0e5fd198d0a98fb817e7a /src/responder
parent46dfa69060f22a443d4ad9d2bf34441ff1adf2d3 (diff)
downloadsssd-d488258da8c9d419af6d8ac4f88732b6494455c4.tar.gz
sssd-d488258da8c9d419af6d8ac4f88732b6494455c4.tar.xz
sssd-d488258da8c9d419af6d8ac4f88732b6494455c4.zip
Allow using Glib for UTF8 support
Diffstat (limited to 'src/responder')
-rw-r--r--src/responder/common/responder_common.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/responder/common/responder_common.c b/src/responder/common/responder_common.c
index 5389031bc..af7a99efd 100644
--- a/src/responder/common/responder_common.c
+++ b/src/responder/common/responder_common.c
@@ -33,9 +33,9 @@
#include <sys/time.h>
#include <errno.h>
#include <popt.h>
-#include <unistr.h>
#include "config.h"
#include "util/util.h"
+#include "util/sss_utf8.h"
#include "db/sysdb.h"
#include "confdb/confdb.h"
#include "dbus/dbus.h"
@@ -683,11 +683,3 @@ int sss_dp_get_domain_conn(struct resp_ctx *rctx, const char *domain,
return EOK;
}
-
-bool sss_utf8_check(const uint8_t *s, size_t n)
-{
- if (u8_check(s, n) == NULL) {
- return true;
- }
- return false;
-}