commit ce28299cca70d918dd2f989bbf041ce3f0e1fdd8 from: Omar Polo date: Sun Jan 30 23:24:17 2022 UTC make -C and -K imply -c commit - 3c615b6161f243f1915b6487a798052d12b888c3 commit + ce28299cca70d918dd2f989bbf041ce3f0e1fdd8 blob - 5566fa5f7770bb009285a68319afa63df60d23fe blob + a0ea9b20b85f142f7f99be998fab83d6394b2b0f --- kamiftp/ftp.c +++ kamiftp/ftp.c @@ -1578,12 +1578,14 @@ main(int argc, char **argv) while ((ch = getopt(argc, argv, "C:cK:")) != -1) { switch (ch) { case 'C': + tls = 1; crtpath = optarg; break; case 'c': tls = 1; break; case 'K': + tls = 1; keypath = optarg; break; default: blob - 3615360b072835ec7b7a15abe55b125b07e1728c blob + bb7154a659db838135e2e479e553a6be7b22b4cf --- kamiftp/kamiftp.1 +++ kamiftp/kamiftp.1 @@ -41,6 +41,8 @@ is mandatory. Specify the path to the client .Ar certificate to be use during the TLS handsahke. +Implies +.Fl c . .It Fl K Ar key Specify the path to the client certificate .Ar key @@ -48,6 +50,8 @@ to be used during the TLS handshake. If not given, the file passed to .Fl C will be used. +Implies +.Fl c . .El .Pp The following commands are recognized by