Option -k realm was broken due to a bogous external declaration.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@89 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -227,7 +227,8 @@ int main(int argc, char **argv)
|
|||||||
case 'k':
|
case 'k':
|
||||||
#if defined(AUTHENTICATION) && defined(KRB4)
|
#if defined(AUTHENTICATION) && defined(KRB4)
|
||||||
{
|
{
|
||||||
extern char *dest_realm, dst_realm_buf[], dst_realm_sz;
|
extern char *dest_realm, dst_realm_buf[];
|
||||||
|
extern int dst_realm_sz;
|
||||||
dest_realm = dst_realm_buf;
|
dest_realm = dst_realm_buf;
|
||||||
(void)strncpy(dest_realm, optarg, dst_realm_sz);
|
(void)strncpy(dest_realm, optarg, dst_realm_sz);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user