diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2015-09-29 09:54:41 +0200 |
---|---|---|
committer | Lukas Slebodnik <lslebodn@redhat.com> | 2015-09-30 07:33:41 +0200 |
commit | 40fa5c38de74c41eabd19a671bcbd21836e889f8 (patch) | |
tree | 16dd5f94a7aab84c9a61796617229a92a45aa4c9 | |
parent | 73ec8fdfddb2d4bf99977f758eec80e1b1ee8542 (diff) | |
download | sssd-40fa5c38de74c41eabd19a671bcbd21836e889f8.tar.gz sssd-40fa5c38de74c41eabd19a671bcbd21836e889f8.tar.xz sssd-40fa5c38de74c41eabd19a671bcbd21836e889f8.zip |
sysdb-tests: Use valid base64 encoded certificate for search
sh$ printf "ABC" | base64 -d
base64: invalid input
Reviewed-by: Michal Židek <mzidek@redhat.com>
-rw-r--r-- | src/tests/sysdb-tests.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/sysdb-tests.c b/src/tests/sysdb-tests.c index 343314bd2..10ee3f621 100644 --- a/src/tests/sysdb-tests.c +++ b/src/tests/sysdb-tests.c @@ -5232,7 +5232,7 @@ START_TEST(test_sysdb_search_user_by_cert) fail_unless(ret == EOK, "sysdb_add_user failed with [%d][%s].", ret, strerror(ret)); - ret = sysdb_search_user_by_cert(test_ctx, test_ctx->domain, "ABC", &res); + ret = sysdb_search_user_by_cert(test_ctx, test_ctx->domain, "ABA=", &res); fail_unless(ret == ENOENT, "Unexpected return code from sysdb_search_user_by_cert for " "missing object, expected [%d], got [%d].", ENOENT, ret); |