1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-23 10:29:58 +01:00

Remove incorrect expression leading to errors.

* scd/ccid-driver.c (send_escape_cmd): Fix setting of 'rc'.
--

Variable 'rc' in send_escape_cmd was overwritten before it was
returned, leading to incorrect computation.

Signed-off-by: Joshua Rogers <git@internot.info>

[Log entry reformatted - wk]
This commit is contained in:
Joshua Rogers 2015-01-24 03:03:33 +11:00 committed by Werner Koch
parent 068ec6c8ed
commit 3d9f8bf1dc

View File

@ -2266,9 +2266,9 @@ send_escape_cmd (ccid_driver_t handle,
{
memcpy (result, msg, msglen);
*resultlen = msglen;
}
rc = 0;
}
}
break;
default:
break;