diff options
-rw-r--r-- | bin/md5/md5.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/md5/md5.c b/bin/md5/md5.c index 0e68483ae3b..5ad8a6b2dd2 100644 --- a/bin/md5/md5.c +++ b/bin/md5/md5.c @@ -1,4 +1,4 @@ -/* $OpenBSD: md5.c,v 1.19 2003/03/23 00:31:23 millert Exp $ */ +/* $OpenBSD: md5.c,v 1.20 2003/04/23 16:00:43 millert Exp $ */ /* * Copyright (c) 2001,2003 Todd C. Miller <Todd.Miller@courtesan.com> @@ -267,7 +267,7 @@ digest_filelist(char *file) continue; filename = p + 2; - p = strchr(filename, ')'); + p = strrchr(filename, ')'); if (p == NULL || strncmp(p + 1, " = ", (size_t)3) != 0) continue; *p = '\0'; |