Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Pkcs11 Proxy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mirrored_repos
smallstep
Pkcs11 Proxy
Commits
9b4c585a
Commit
9b4c585a
authored
15 years ago
by
Corentin Chary
Committed by
Corentin Chary
14 years ago
Browse files
Options
Downloads
Patches
Plain Diff
pkcs11: windows fixes
Signed-off-by:
Corentin Chary
<
cchary@commonit.com
>
parent
2cdf2969
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+4
-0
4 additions, 0 deletions
CMakeLists.txt
gck-rpc-module.c
+2
-2
2 additions, 2 deletions
gck-rpc-module.c
with
6 additions
and
2 deletions
CMakeLists.txt
+
4
−
0
View file @
9b4c585a
cmake_minimum_required
(
VERSION 2.4
)
if
(
COMMAND cmake_policy
)
cmake_policy
(
SET CMP0003 NEW
)
endif
(
COMMAND cmake_policy
)
project
(
pkcs11 C
)
set
(
PKCS11_PROXY_SRCS gck-rpc-module.c gck-rpc-message.c gck-rpc-util.c egg-buffer.c
)
...
...
This diff is collapsed.
Click to expand it.
gck-rpc-module.c
+
2
−
2
View file @
9b4c585a
...
...
@@ -251,7 +251,7 @@ static CK_RV call_write(CallState * cs, unsigned char *data, size_t len)
return
CKR_DEVICE_ERROR
;
}
r
=
send
(
fd
,
data
,
len
,
0
);
r
=
send
(
fd
,
(
void
*
)
data
,
len
,
0
);
if
(
r
==
-
1
)
{
if
(
errno
==
EPIPE
)
{
...
...
@@ -290,7 +290,7 @@ static CK_RV call_read(CallState * cs, unsigned char *data, size_t len)
return
CKR_DEVICE_ERROR
;
}
r
=
recv
(
fd
,
data
,
len
,
0
);
r
=
recv
(
fd
,
(
void
*
)
data
,
len
,
0
);
if
(
r
==
0
)
{
warning
((
"couldn't receive data: daemon closed connection"
));
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment