- Minor fixes, convert crlf -> lf
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2227 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
49f622ea52
commit
47721beae2
@ -1,17 +1,31 @@
|
||||
/* eidenv.c - EstEID utility
|
||||
* Copyright (C) 2004 martin paljak <martin@paljak.pri.ee>
|
||||
/*
|
||||
* eidenv.c: EstEID utility
|
||||
*
|
||||
* Copyright (C) 2004 Martin Paljak <martin@paljak.pri.ee>
|
||||
*
|
||||
* This 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.
|
||||
*
|
||||
* This 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 this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#if HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
#include <getopt.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <opensc/opensc.h>
|
||||
|
||||
#include "../libopensc/cards.h"
|
||||
@ -22,7 +36,6 @@ static int stats = 0;
|
||||
static char *exec_program = NULL;
|
||||
static int exit_status = EXIT_FAILURE;
|
||||
|
||||
|
||||
static struct option const long_options[] = {
|
||||
{"reader", required_argument, 0, 'r'},
|
||||
{"print", no_argument, 0, 'n'},
|
||||
@ -63,7 +76,7 @@ static void show_version(void)
|
||||
fprintf(stderr,
|
||||
"eidenv - EstEID utility version " VERSION "\n"
|
||||
"\n"
|
||||
"Copyright (c) 2004 martin paljak <martin@paljak.pri.ee>\n"
|
||||
"Copyright (c) 2004 Martin Paljak <martin@paljak.pri.ee>\n"
|
||||
"Licensed under GPL v2\n");
|
||||
}
|
||||
|
||||
@ -225,4 +238,3 @@ out:
|
||||
sc_release_context(ctx);
|
||||
exit(exit_status);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user