From
1fac0e5352e88addb8bf57dcac126918f19d7303 Mon Sep 17 00:00:00 2001
From: Attila Molnar <attilamolnar@hush.com>
Date: Tue, 1 Oct 2013 13:40:01 +0200
Subject: [PATCH 1/2] srptool: Fix inability to add users to tpasswd and broken
-i switch
Signed-off-by: Attila Molnar <attilamolnar@hush.com>
flag = {
name = index;
value = i;
+ arg-type = number;
+ arg-default = 1;
descrip = "specify the index of the group parameters in tpasswd.conf to use.";
doc = "";
};
return crypt_int (username, passwd, salt_size,
- fpasswd_conf, fpasswd, VALUE_OPT_INDEX);
+ fpasswd_conf, fpasswd, OPT_VALUE_INDEX);
}