summaryrefslogtreecommitdiff
authordwmw2 <dwmw2>2002-09-20 13:38:37 (UTC)
committer dwmw2 <dwmw2>2002-09-20 13:38:37 (UTC)
commitba0e9195f95ecb65216851b9b74fd776d307adc3 (patch) (unidiff)
tree248699c113c9ab5d469d015360baed1f5c4f6dae
parent07f63d9a2a816f2406b0d8ea0f3c1b813fd13663 (diff)
downloadopie-ba0e9195f95ecb65216851b9b74fd776d307adc3.zip
opie-ba0e9195f95ecb65216851b9b74fd776d307adc3.tar.gz
opie-ba0e9195f95ecb65216851b9b74fd776d307adc3.tar.bz2
Copyright and licence noise
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/sshkeys/main.cpp23
-rw-r--r--noncore/settings/sshkeys/sshkeys.cpp20
-rw-r--r--noncore/settings/sshkeys/sshkeys.h20
3 files changed, 61 insertions, 2 deletions
diff --git a/noncore/settings/sshkeys/main.cpp b/noncore/settings/sshkeys/main.cpp
index a7b1d56..9f19d0f 100644
--- a/noncore/settings/sshkeys/main.cpp
+++ b/noncore/settings/sshkeys/main.cpp
@@ -1,3 +1,23 @@
1/*
2 * ssh-agent key manipulation utility
3 *
4 * (C) 2002 David Woodhouse <dwmw2@infradead.org>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 *
20 */
1 21
2#include <qpe/qpeapplication.h> 22#include <qpe/qpeapplication.h>
3#include "sshkeys.h" 23#include "sshkeys.h"
@@ -8,7 +28,6 @@
8#include <sys/ioctl.h> 28#include <sys/ioctl.h>
9#include <unistd.h> 29#include <unistd.h>
10 30
11
12int main(int argc, char *argv[]) 31int main(int argc, char *argv[])
13{ 32{
14 QPEApplication a(argc, argv); 33 QPEApplication a(argc, argv);
@@ -16,7 +35,7 @@ int main(int argc, char *argv[])
16 int fd; 35 int fd;
17 36
18 /* If we had a controlling TTY, detach from it. 37 /* If we had a controlling TTY, detach from it.
19 This is to ensure the SSH uses ssh-askpass */ 38 This is to ensure that SSH uses ssh-askpass */
20 fd = open("/dev/tty", O_RDONLY); 39 fd = open("/dev/tty", O_RDONLY);
21 if (fd != -1) { 40 if (fd != -1) {
22 ioctl(fd, TIOCNOTTY, NULL); 41 ioctl(fd, TIOCNOTTY, NULL);
diff --git a/noncore/settings/sshkeys/sshkeys.cpp b/noncore/settings/sshkeys/sshkeys.cpp
index 3b4dce6..88acf94 100644
--- a/noncore/settings/sshkeys/sshkeys.cpp
+++ b/noncore/settings/sshkeys/sshkeys.cpp
@@ -1,3 +1,23 @@
1/*
2 * ssh-agent key manipulation utility
3 *
4 * (C) 2002 David Woodhouse <dwmw2@infradead.org>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 *
20 */
1#include "sshkeys.h" 21#include "sshkeys.h"
2 22
3#include <qpe/qpeapplication.h> 23#include <qpe/qpeapplication.h>
diff --git a/noncore/settings/sshkeys/sshkeys.h b/noncore/settings/sshkeys/sshkeys.h
index 9a39a2c..5e306d1 100644
--- a/noncore/settings/sshkeys/sshkeys.h
+++ b/noncore/settings/sshkeys/sshkeys.h
@@ -1,3 +1,23 @@
1/*
2 * ssh-agent key manipulation utility
3 *
4 * (C) 2002 David Woodhouse <dwmw2@infradead.org>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 *
20 */
1 21
2#ifndef SSHKEYSAPP_H 22#ifndef SSHKEYSAPP_H
3#define SSHKEYSAPP_H 23#define SSHKEYSAPP_H