[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] GNU gsasl branch, master, updated. gsasl-1-4-1-34-ga198fcf
From: |
Simon Josefsson |
Subject: |
[SCM] GNU gsasl branch, master, updated. gsasl-1-4-1-34-ga198fcf |
Date: |
Fri, 12 Mar 2010 17:42:58 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU gsasl".
http://git.savannah.gnu.org/cgit/gsasl.git/commit/?id=a198fcf549b7c8597e53ed15a86937a43df127b2
The branch, master has been updated
via a198fcf549b7c8597e53ed15a86937a43df127b2 (commit)
from 083206fa10ef9b47e74c5198ddb757fe1f3ac5a6 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit a198fcf549b7c8597e53ed15a86937a43df127b2
Author: Simon Josefsson <address@hidden>
Date: Fri Mar 12 18:42:54 2010 +0100
Silently fail GSSAPI/GS2-KRB5 tests if not available.
-----------------------------------------------------------------------
Summary of changes:
tests/gs2-krb5.c | 8 ++++++++
tests/gssapi.c | 10 +++++++++-
2 files changed, 17 insertions(+), 1 deletions(-)
diff --git a/tests/gs2-krb5.c b/tests/gs2-krb5.c
index a335cf3..1bd69d7 100644
--- a/tests/gs2-krb5.c
+++ b/tests/gs2-krb5.c
@@ -105,6 +105,14 @@ doit (void)
return;
}
+ if (!gsasl_client_support_p (ctx, "GS2-KRB5")
+ || !gsasl_server_support_p (ctx, "GS2-KRB5"))
+ {
+ gsasl_done (ctx);
+ fail("No support for GSSAPI.\n");
+ exit(77);
+ }
+
gsasl_callback_set (ctx, callback);
for (i = 0; i < 5; i++)
diff --git a/tests/gssapi.c b/tests/gssapi.c
index a2fdae3..0030f4d 100644
--- a/tests/gssapi.c
+++ b/tests/gssapi.c
@@ -1,5 +1,5 @@
/* gssapi.c --- Test the GSSAPI mechanism.
- * Copyright (C) 2002, 2003, 2004, 2005, 2007, 2008, 2009 Simon Josefsson
+ * Copyright (C) 2002, 2003, 2004, 2005, 2007, 2008, 2009, 2010 Simon
Josefsson
*
* This file is part of GNU SASL.
*
@@ -101,6 +101,14 @@ doit (void)
return;
}
+ if (!gsasl_client_support_p (ctx, "GSSAPI")
+ || !gsasl_server_support_p (ctx, "GSSAPI"))
+ {
+ gsasl_done (ctx);
+ fail("No support for GSSAPI.\n");
+ exit(77);
+ }
+
gsasl_callback_set (ctx, callback);
for (i = 0; i < 5; i++)
hooks/post-receive
--
GNU gsasl
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] GNU gsasl branch, master, updated. gsasl-1-4-1-34-ga198fcf,
Simon Josefsson <=