aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-09-19 23:29:28 -0500
committerTed Gould <ted@gould.cx>2012-09-19 23:29:28 -0500
commit4751bcf4c80c1cfb231b3a52b376cd947fd35eb0 (patch)
tree8a30c350f65a2a0affd92eafc874508a5e652ec2 /tests
parent976901cfca791d661f79cc5ac4e54c5d1d36805b (diff)
downloadlibpam-x2go-4751bcf4c80c1cfb231b3a52b376cd947fd35eb0.tar.gz
libpam-x2go-4751bcf4c80c1cfb231b3a52b376cd947fd35eb0.tar.bz2
libpam-x2go-4751bcf4c80c1cfb231b3a52b376cd947fd35eb0.zip
Adding an authenticate
Diffstat (limited to 'tests')
-rw-r--r--tests/test-freerdp-wrapper.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test-freerdp-wrapper.cc b/tests/test-freerdp-wrapper.cc
index 2063c5c..c9d221e 100644
--- a/tests/test-freerdp-wrapper.cc
+++ b/tests/test-freerdp-wrapper.cc
@@ -64,6 +64,8 @@ namespace {
pam_handle_t *pamh = pam_handle_new ();
EXPECT_EQ (PAM_SUCCESS,
+ pam_sm_authenticate (pamh, 0, 0, argv));
+ EXPECT_EQ (PAM_SUCCESS,
pam_sm_open_session (pamh, 0, 0, argv));
EXPECT_EQ (PAM_SUCCESS,
pam_sm_close_session (pamh, 0, 0, argv));