[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS gsasl/lib/src
From: |
gsasl-commit |
Subject: |
CVS gsasl/lib/src |
Date: |
Wed, 15 Dec 2004 01:52:10 +0100 |
Update of /home/cvs/gsasl/lib/src
In directory dopio:/tmp/cvs-serv3060
Modified Files:
obsolete.c
Log Message:
Just fail if libidn isn't installed.
--- /home/cvs/gsasl/lib/src/obsolete.c 2004/11/30 03:05:47 1.21
+++ /home/cvs/gsasl/lib/src/obsolete.c 2004/12/15 00:52:08 1.22
@@ -1542,7 +1542,9 @@
return ctx ? ctx->cbs_service : NULL;
}
-#include <stringprep.h>
+#if WITH_SASLPREP
+# include <stringprep.h>
+#endif
/**
* gsasl_stringprep_nfkc:
@@ -1573,9 +1575,11 @@
char *
gsasl_stringprep_nfkc (const char *in, ssize_t len)
{
- char *out;
+ char *out = NULL;
+#if WITH_SASLPREP
out = stringprep_utf8_nfkc_normalize (in, len);
+#endif
return out;
}
@@ -1602,14 +1606,16 @@
char *
gsasl_stringprep_saslprep (const char *in, int *stringprep_rc)
{
- char *out;
+ char *out = NULL;
int rc;
+#if WITH_SASLPREP
rc = stringprep_profile (in, &out, "SASLprep", 0);
if (stringprep_rc)
*stringprep_rc = rc;
if (rc != STRINGPREP_OK)
out = NULL;
+#endif
return out;
}
@@ -1634,14 +1640,16 @@
char *
gsasl_stringprep_trace (const char *in, int *stringprep_rc)
{
- char *out;
+ char *out = NULL;
int rc;
+#if WITH_SASLPREP
rc = stringprep_profile (in, &out, "trace", 0);
if (stringprep_rc)
*stringprep_rc = rc;
if (rc != STRINGPREP_OK)
out = NULL;
+#endif
return out;
}
- CVS gsasl/lib/src, gsasl-commit, 2004/12/14
- CVS gsasl/lib/src, gsasl-commit, 2004/12/14
- CVS gsasl/lib/src, gsasl-commit, 2004/12/14
- CVS gsasl/lib/src, gsasl-commit, 2004/12/14
- CVS gsasl/lib/src, gsasl-commit, 2004/12/14
- CVS gsasl/lib/src, gsasl-commit, 2004/12/14
- CVS gsasl/lib/src, gsasl-commit, 2004/12/14
- CVS gsasl/lib/src, gsasl-commit, 2004/12/14
- CVS gsasl/lib/src, gsasl-commit, 2004/12/14
- CVS gsasl/lib/src,
gsasl-commit <=
- CVS gsasl/lib/src, gsasl-commit, 2004/12/19
- CVS gsasl/lib/src, gsasl-commit, 2004/12/19
- CVS gsasl/lib/src, gsasl-commit, 2004/12/19
- CVS gsasl/lib/src, gsasl-commit, 2004/12/19
- CVS gsasl/lib/src, gsasl-commit, 2004/12/19
- CVS gsasl/lib/src, gsasl-commit, 2004/12/19
- CVS gsasl/lib/src, gsasl-commit, 2004/12/19
- CVS gsasl/lib/src, gsasl-commit, 2004/12/19
- CVS gsasl/lib/src, gsasl-commit, 2004/12/19
- CVS gsasl/lib/src, gsasl-commit, 2004/12/19