- protocol nid in pace_sm_ctx is not needed any longer due to the changes of OpenPACE

git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@69 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
frankmorgner
2010-04-12 14:26:23 +00:00
parent f84d7f1752
commit d8ababbf96
3 changed files with 10 additions and 25 deletions

View File

@@ -21,7 +21,7 @@
#include <openssl/pace.h>
struct pace_sm_ctx *
pace_sm_ctx_create(int protocol, const BUF_MEM *key_mac,
pace_sm_ctx_create(const BUF_MEM *key_mac,
const BUF_MEM *key_enc, PACE_CTX *ctx)
{
struct pace_sm_ctx *out = malloc(sizeof *out);
@@ -36,7 +36,6 @@ pace_sm_ctx_create(int protocol, const BUF_MEM *key_mac,
out->key_enc = key_enc;
out->key_mac = key_mac;
out->protocol = protocol;
out->ctx = ctx;
return out;