YKCS11: Suppress some warnings.
This commit is contained in:
@@ -4,6 +4,9 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
|
#include <stdbool.h>
|
||||||
|
#include "../tool/util.h"
|
||||||
|
|
||||||
static CK_RV COMMON_token_login(ykpiv_state *state, CK_USER_TYPE user, CK_UTF8CHAR_PTR pin, CK_ULONG pin_len) {
|
static CK_RV COMMON_token_login(ykpiv_state *state, CK_USER_TYPE user, CK_UTF8CHAR_PTR pin, CK_ULONG pin_len) {
|
||||||
|
|
||||||
int tries = 0; // TODO: this is effectively disregarded, should we add a better value in ykpiv_verify?
|
int tries = 0; // TODO: this is effectively disregarded, should we add a better value in ykpiv_verify?
|
||||||
|
|||||||
@@ -10,6 +10,9 @@
|
|||||||
#include "openssl_types.h"
|
#include "openssl_types.h"
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
|
#include <stdbool.h>
|
||||||
|
#include "../tool/util.h"
|
||||||
|
|
||||||
#define YKCS11_MANUFACTURER "Yubico (www.yubico.com)"
|
#define YKCS11_MANUFACTURER "Yubico (www.yubico.com)"
|
||||||
#define YKCS11_LIBDESC "PKCS#11 PIV Library (SP-800-73)"
|
#define YKCS11_LIBDESC "PKCS#11 PIV Library (SP-800-73)"
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
#include "pkcs11.h"
|
#include "pkcs11.h"
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
#include "objects.h"
|
||||||
|
|
||||||
#define YUBICO_MECHANISMS_NUM 5
|
#define YUBICO_MECHANISMS_NUM 5
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user