[pkg-opensc-commit] [pkcs11-helper] 203/253: Return proper code from sign
Eric Dorland
eric at moszumanska.debian.org
Fri Jan 6 23:39:19 UTC 2017
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository pkcs11-helper.
commit 3344f2b6f659ce74ad5370e8b6f2af7dac760e2b
Author: Alon Bar-Lev <alon.barlev at gmail.com>
Date: Fri Oct 21 09:03:21 2011 +0000
Return proper code from sign
---
lib/pkcs11h-certificate.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/pkcs11h-certificate.c b/lib/pkcs11h-certificate.c
index c3efeb7..48c3b7a 100644
--- a/lib/pkcs11h-certificate.c
+++ b/lib/pkcs11h-certificate.c
@@ -1591,14 +1591,14 @@ pkcs11h_certificate_signAny (
(certificate->mask_private_mode & PKCS11H_PRIVATEMODE_MASK_SIGN) != 0
) {
switch (
- pkcs11h_certificate_sign (
+ (rv = pkcs11h_certificate_sign (
certificate,
mech_type,
source,
source_size,
target,
p_target_size
- )
+ ))
) {
case CKR_OK:
acked = TRUE;
@@ -1618,14 +1618,14 @@ pkcs11h_certificate_signAny (
(certificate->mask_private_mode & PKCS11H_PRIVATEMODE_MASK_RECOVER) != 0
) {
switch (
- pkcs11h_certificate_signRecover (
+ (rv = pkcs11h_certificate_signRecover (
certificate,
mech_type,
source,
source_size,
target,
p_target_size
- )
+ ))
) {
case CKR_OK:
acked = TRUE;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/pkcs11-helper.git
More information about the pkg-opensc-commit
mailing list