/*
* Copyright (C) 2014-2016 Internet Systems Consortium, Inc. ("ISC")
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/* $Id$ */
/* pkcs11-tokens [-m module] */
/*! \file */
#include <config.h>
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <errno.h>
#include <string.h>
#include <isc/commandline.h>
int
int c, errflg = 0;
switch (c) {
case 'm':
break;
case 'v':
break;
case ':':
errflg++;
break;
case '?':
default:
errflg++;
}
}
if (errflg) {
exit(1);
}
exit(1);
}
/* Initialize the CRYPTOKI library */
if (result == PK11_R_NORANDOMSERVICE ||
result == PK11_R_NODIGESTSERVICE ||
result == PK11_R_NOAESSERVICE) {
"using native PKCS#11.\n\n");
exit(1);
}
(void) pk11_finalize();
exit(0);
}