aboutsummaryrefslogtreecommitdiff
path: root/libssh/keys.c
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-03-29 20:19:18 +0000
committerAndreas Schneider <mail@cynapses.org>2009-03-29 20:19:18 +0000
commit3441e77ddc03a95482575ad9e9c9c5b341408760 (patch)
tree118be34c2478156a101c4943f5f2c02817ab0a13 /libssh/keys.c
parent84430b22771ae368267ce20e7c2ef612ada42c7c (diff)
downloadlibssh-3441e77ddc03a95482575ad9e9c9c5b341408760.tar.gz
libssh-3441e77ddc03a95482575ad9e9c9c5b341408760.tar.xz
libssh-3441e77ddc03a95482575ad9e9c9c5b341408760.zip
Normalize the license in all files and add vim tab instructions.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@305 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh/keys.c')
-rw-r--r--libssh/keys.c43
1 files changed, 23 insertions, 20 deletions
diff --git a/libssh/keys.c b/libssh/keys.c
index e1afc23..f557423 100644
--- a/libssh/keys.c
+++ b/libssh/keys.c
@@ -1,25 +1,28 @@
-/* keys handle the public key related functions */
-/* decoding a public key (both rsa and dsa), decoding a signature (rsa and dsa), veryfying them */
-
/*
-Copyright 2003-2005 Aris Adamantiadis
-
-This file is part of the SSH Library
-
-The SSH Library is free software; you can redistribute it and/or modify
-it under the terms of the GNU Lesser General Public License as published by
-the Free Software Foundation; either version 2.1 of the License, or (at your
-option) any later version.
-
-The SSH Library is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
-License for more details.
+ * keys.c - decoding a public key or signature and verifying them
+ *
+ * This file is part of the SSH Library
+ *
+ * Copyright (c) 2003-2005 by Aris Adamantiadis
+ *
+ * The SSH Library is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; either version 2.1 of the License, or (at your
+ * option) any later version.
+ *
+ * The SSH Library is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ * License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with the SSH Library; see the file COPYING. If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+ * MA 02111-1307, USA.
+ *
+ * vim: ts=2 sw=2 et cindent
+ */
-You should have received a copy of the GNU Lesser General Public License
-along with the SSH Library; see the file COPYING. If not, write to
-the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
-MA 02111-1307, USA. */
#include <stdlib.h>
#include <string.h>
#ifdef HAVE_LIBCRYPTO