diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2003-02-20 17:32:29 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2003-02-20 17:32:29 +0000 |
commit | 5c9a489f1291dbcd0c20b7e0b57c901031e93f5c (patch) | |
tree | 1ddcd3e742944641903e8faa2b8d2ebb05ab4954 /libexec/login_token | |
parent | 30a8c80401882045c2ce3c80f4ad6d6f485c6011 (diff) |
remove useless cast in memset()
Diffstat (limited to 'libexec/login_token')
-rw-r--r-- | libexec/login_token/token.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/login_token/token.c b/libexec/login_token/token.c index 0c59cde7dc3..d6ade2719cb 100644 --- a/libexec/login_token/token.c +++ b/libexec/login_token/token.c @@ -1,4 +1,4 @@ -/* $OpenBSD: token.c,v 1.8 2002/07/16 12:38:40 jufi Exp $ */ +/* $OpenBSD: token.c,v 1.9 2003/02/20 17:32:28 millert Exp $ */ /*- * Copyright (c) 1995 Migration Associates Corp. All Rights Reserved @@ -189,7 +189,7 @@ tokenverify(char *username, char *challenge, char *response) return (-1); h2cb(tokenrec.secret, &user_seed); - memset((char*)&tokenrec.secret, 0, sizeof(tokenrec.secret)); + memset(&tokenrec.secret, 0, sizeof(tokenrec.secret)); if (!(tokenrec.flags & TOKEN_ENABLED)) return (-1); |