aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/auth/factotum/conv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/auth/factotum/conv.c')
-rw-r--r--src/cmd/auth/factotum/conv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmd/auth/factotum/conv.c b/src/cmd/auth/factotum/conv.c
index 1c92c06c..3a8cf590 100644
--- a/src/cmd/auth/factotum/conv.c
+++ b/src/cmd/auth/factotum/conv.c
@@ -245,6 +245,8 @@ convneedkey(Conv *c, Attr *a)
*/
if(convgetrpc(c, -1) == nil)
return -1;
+ if(conv->proto)
+ a = addattrs(parseattr(c->proto->keyprompt), a);
flog("convneedkey %A", a);
rpcrespond(c, "needkey %A", a);
if(convgetrpc(c, -1) == nil)