- 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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user