Skip to content

Commit 6a2040b

Browse files
committed
Use new lookup function
1 parent 4e06a1e commit 6a2040b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pam_e4crypt.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -685,8 +685,8 @@ pam_sm_open_session(
685685
if (option = get_modarg_value("keyring", argv[i])) {
686686
// A keyring option may have been passed. If so, we try to retrieve
687687
// the key.
688-
keyring = request_key("keyring", option, NULL, 0);
689-
if (keyring > 0)
688+
keyring = parse_keyring(option);
689+
if (keyring != 0)
690690
continue;
691691

692692
pam_log(LOG_ERR,

0 commit comments

Comments
 (0)