Skip to content

Commit 1035101

Browse files
committed
fix outstanding merge conflicts
1 parent 50c0f38 commit 1035101

File tree

2 files changed

+0
-33
lines changed

2 files changed

+0
-33
lines changed

ssh-keygen.c

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1943,11 +1943,7 @@ parse_hex_u64(const char *s, uint64_t *up)
19431943
unsigned long long ull;
19441944

19451945
errno = 0;
1946-
<<<<<<< HEAD
19471946
ull = strtoull(s, &ep, 16); // CodeQL [SM02313] false positive: strtoull will initialize ep.
1948-
=======
1949-
ull = strtoull(s, &ep, 16);
1950-
>>>>>>> 180f26288108247eb1245be68bf8d0e3fca17c3c
19511947
if (*s == '\0' || *ep != '\0')
19521948
fatal("Invalid certificate time: not a number");
19531949
if (errno == ERANGE && ull == ULONG_MAX)
@@ -1999,11 +1995,7 @@ parse_cert_times(char *timespec)
19991995
cert_valid_to = parse_relative_time(to, now);
20001996
else if (strcmp(to, "forever") == 0)
20011997
cert_valid_to = ~(u_int64_t)0;
2002-
<<<<<<< HEAD
2003-
else if (strncmp(from, "0x", 2) == 0)
2004-
=======
20051998
else if (strncmp(to, "0x", 2) == 0)
2006-
>>>>>>> 180f26288108247eb1245be68bf8d0e3fca17c3c
20071999
parse_hex_u64(to, &cert_valid_to);
20082000
else if (parse_absolute_time(to, &cert_valid_to) != 0)
20092001
fatal("Invalid to time \"%s\"", to);
@@ -3861,7 +3853,6 @@ main(int argc, char **argv)
38613853
}
38623854
if ((attest = sshbuf_new()) == NULL)
38633855
fatal("sshbuf_new failed");
3864-
<<<<<<< HEAD
38653856
#ifndef WINDOWS
38663857
if ((sk_flags &
38673858
(SSH_SK_USER_VERIFICATION_REQD|SSH_SK_RESIDENT_KEY))) {
@@ -3873,12 +3864,8 @@ main(int argc, char **argv)
38733864
#else
38743865
passphrase = NULL;
38753866
#endif
3876-
for (i = 0 ; ; i++) {
3877-
r = 0;
3878-
=======
38793867
r = 0;
38803868
for (i = 0 ;;) {
3881-
>>>>>>> 180f26288108247eb1245be68bf8d0e3fca17c3c
38823869
if (!quiet) {
38833870
printf("You may need to touch your "
38843871
"authenticator%s to authorize key "

sshd.c

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2020,11 +2020,7 @@ main(int ac, char **av)
20202020

20212021
/* Parse command-line arguments. */
20222022
while ((opt = getopt(ac, av,
2023-
<<<<<<< HEAD
2024-
"C:E:b:c:f:g:h:k:o:p:u:46DQRTdeiqrtyz")) != -1) {
2025-
=======
20262023
"C:E:b:c:f:g:h:k:o:p:u:46DQRTdeiqrtV")) != -1) {
2027-
>>>>>>> 180f26288108247eb1245be68bf8d0e3fca17c3c
20282024
switch (opt) {
20292025
case '4':
20302026
options.address_family = AF_INET;
@@ -2125,26 +2121,10 @@ main(int ac, char **av)
21252121
exit(1);
21262122
free(line);
21272123
break;
2128-
<<<<<<< HEAD
2129-
case 'y':
2130-
privsep_unauth_child = 1;
2131-
rexec_flag = 0;
2132-
logfile = NULL;
2133-
//Sleep(10 * 1000);
2134-
break;
2135-
case 'z':
2136-
privsep_auth_child = 1;
2137-
rexec_flag = 0;
2138-
logfile = NULL;
2139-
//Sleep(10 * 1000);
2140-
break;
2141-
case '?':
2142-
=======
21432124
case 'V':
21442125
fprintf(stderr, "%s, %s\n",
21452126
SSH_VERSION, SSH_OPENSSL_VERSION);
21462127
exit(0);
2147-
>>>>>>> 180f26288108247eb1245be68bf8d0e3fca17c3c
21482128
default:
21492129
usage();
21502130
break;

0 commit comments

Comments
 (0)