diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-11-12 14:13:17 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-11-12 14:13:17 +0000 |
commit | 0d0712d63e871518d8cfc3cdf4bbe64233f12b61 (patch) | |
tree | 882fd90315ef52642fbbb7b190ab7862f692ae2f /libexec/login_token | |
parent | 6b1a734c074dfa473f16c4e3108dedcbb3b15468 (diff) |
spacing
Diffstat (limited to 'libexec/login_token')
-rw-r--r-- | libexec/login_token/token.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/login_token/token.c b/libexec/login_token/token.c index 835012f1df7..36a6125fddd 100644 --- a/libexec/login_token/token.c +++ b/libexec/login_token/token.c @@ -1,4 +1,4 @@ -/* $OpenBSD: token.c,v 1.10 2005/05/26 23:04:09 avsm Exp $ */ +/* $OpenBSD: token.c,v 1.11 2005/11/12 14:13:16 deraadt Exp $ */ /*- * Copyright (c) 1995 Migration Associates Corp. All Rights Reserved @@ -141,7 +141,7 @@ tokenchallenge(char *user, char *challenge, int size, char *card_type) if (r != 0 || tr.rim[0] == '\0') { memset(tokennumber.ct, 0, sizeof(tokennumber.ct)); snprintf(tokennumber.ct, sizeof(tokennumber.ct), "%8.8u", - arc4random()); + arc4random()); if (r == 0) { memcpy(tr.rim, tokennumber.ct, 8); tokendb_putrec(user, &tr); @@ -149,7 +149,7 @@ tokenchallenge(char *user, char *challenge, int size, char *card_type) } snprintf(challenge, size, "%s Challenge \"%s\"\r\n%s Response: ", - card_type, tokennumber.ct, card_type); + card_type, tokennumber.ct, card_type); } /* |