- added some #include string.h statements for RH 7.2
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@357 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
0f95c1c6de
commit
5006b0d151
|
@ -20,6 +20,7 @@
|
||||||
|
|
||||||
#include "sc-internal.h"
|
#include "sc-internal.h"
|
||||||
#include "sc-log.h"
|
#include "sc-log.h"
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
static struct sc_card_operations emv_ops;
|
static struct sc_card_operations emv_ops;
|
||||||
static const struct sc_card_driver emv_drv = {
|
static const struct sc_card_driver emv_drv = {
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
#include "sc-internal.h"
|
#include "sc-internal.h"
|
||||||
#include "sc-log.h"
|
#include "sc-log.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
static const char *flex_atrs[] = {
|
static const char *flex_atrs[] = {
|
||||||
"3B:95:94:40:FF:63:01:01:02:01", /* Cryptoflex 16k */
|
"3B:95:94:40:FF:63:01:01:02:01", /* Cryptoflex 16k */
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
|
|
||||||
#include "sc-internal.h"
|
#include "sc-internal.h"
|
||||||
#include "sc-log.h"
|
#include "sc-log.h"
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
static const char *tcos_atrs[] = {
|
static const char *tcos_atrs[] = {
|
||||||
"3B:BA:96:00:81:31:86:5D:00:64:05:60:02:03:31:80:90:00:66",
|
"3B:BA:96:00:81:31:86:5D:00:64:05:60:02:03:31:80:90:00:66",
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
#include "sc-asn1.h"
|
#include "sc-asn1.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
int sc_check_sw(struct sc_card *card, int sw1, int sw2)
|
int sc_check_sw(struct sc_card *card, int sw1, int sw2)
|
||||||
{
|
{
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
const static struct sc_card_error iso7816_errors[] = {
|
const static struct sc_card_error iso7816_errors[] = {
|
||||||
{ 0x6200, SC_ERROR_UNKNOWN_REPLY, "State of non-volatile memory unchanged" },
|
{ 0x6200, SC_ERROR_UNKNOWN_REPLY, "State of non-volatile memory unchanged" },
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
|
|
||||||
#include <opensc.h>
|
#include <opensc.h>
|
||||||
#include <opensc-pkcs15.h>
|
#include <opensc-pkcs15.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
int quiet = 0;
|
int quiet = 0;
|
||||||
char *opt_outfile = NULL;
|
char *opt_outfile = NULL;
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#include "sc-pkcs11.h"
|
#include "sc-pkcs11.h"
|
||||||
#include <sc-log.h>
|
#include <sc-log.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#define DUMP_TEMPLATE_MAX 32
|
#define DUMP_TEMPLATE_MAX 32
|
||||||
|
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
#include "sc-pkcs11.h"
|
#include "sc-pkcs11.h"
|
||||||
|
|
||||||
#include <sc-log.h>
|
#include <sc-log.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
struct sc_context *context = NULL;
|
struct sc_context *context = NULL;
|
||||||
struct sc_pkcs11_pool session_pool;
|
struct sc_pkcs11_pool session_pool;
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#include "sc-pkcs11.h"
|
#include "sc-pkcs11.h"
|
||||||
#include <sc-log.h>
|
#include <sc-log.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
CK_RV C_OpenSession(CK_SLOT_ID slotID, /* the slot's ID */
|
CK_RV C_OpenSession(CK_SLOT_ID slotID, /* the slot's ID */
|
||||||
CK_FLAGS flags, /* defined in CK_SESSION_INFO */
|
CK_FLAGS flags, /* defined in CK_SESSION_INFO */
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
|
|
||||||
#include "sc-pkcs11.h"
|
#include "sc-pkcs11.h"
|
||||||
#include <sc-log.h>
|
#include <sc-log.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
static struct sc_pkcs11_framework_ops *frameworks[] = {
|
static struct sc_pkcs11_framework_ops *frameworks[] = {
|
||||||
&framework_pkcs15,
|
&framework_pkcs15,
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
struct sc_pkcs15_card *p15card;
|
struct sc_pkcs15_card *p15card;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue