diff options
Diffstat (limited to 'ssh-add.c')
-rw-r--r-- | ssh-add.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh-add.c,v 1.154 2020/02/26 13:40:09 jsg Exp $ */ | 1 | /* $OpenBSD: ssh-add.c,v 1.155 2020/03/16 02:17:02 dtucker Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -718,7 +718,7 @@ main(int argc, char **argv) | |||
718 | break; | 718 | break; |
719 | case 't': | 719 | case 't': |
720 | if ((lifetime = convtime(optarg)) == -1 || | 720 | if ((lifetime = convtime(optarg)) == -1 || |
721 | lifetime < 0 || lifetime > UINT32_MAX) { | 721 | lifetime < 0 || (u_long)lifetime > UINT32_MAX) { |
722 | fprintf(stderr, "Invalid lifetime\n"); | 722 | fprintf(stderr, "Invalid lifetime\n"); |
723 | ret = 1; | 723 | ret = 1; |
724 | goto done; | 724 | goto done; |