ports/net/tac_plus4/files/patch-skey_fn.c
Joe Marcus Clarke c05e892f22 - Update tac_plus4 to 4.0.4.28
- Regenerate patches to make portlint happy
- Other minor changes to Makefile for portlint happiness
- Updates the description to reflect a bit more the current state:
- The original FTP site from Cisco isn't reachable anymore, nor
  is 2.x in the ports tree these days.
- Update/add the URL, though the one from Cisco still works, but
  this is the version from Shrubbery Networks. (there are others around)
- Add a pkg-message

PR:		204683
Submitted by:	Mathieu Simon <freebsd@simweb.ch>
2015-11-22 23:56:02 +00:00

11 lines
384 B
C

--- skey_fn.c.orig 2012-06-06 18:34:55 UTC
+++ skey_fn.c
@@ -164,7 +164,7 @@ skey_fn(struct authen_data *data)
return(1);
}
- if (skeychallenge(&p->skey, name, skeyprompt, 80) == 0) {
+ if (skeychallenge(&p->skey, name, skeyprompt) == 0) {
char buf[256];
snprintf(buf, sizeof(buf), "%s\nS/Key challenge: ", skeyprompt);
data->server_msg = tac_strdup(buf);