From 47d3b5371c59357efcf288f74ccc1ef6181a62aa Mon Sep 17 00:00:00 2001 From: merlokk Date: Mon, 4 Dec 2017 22:04:53 +0200 Subject: [PATCH] small fix --- client/emv/crypto_polarssl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/emv/crypto_polarssl.c b/client/emv/crypto_polarssl.c index 53034854..8030761c 100644 --- a/client/emv/crypto_polarssl.c +++ b/client/emv/crypto_polarssl.c @@ -43,14 +43,14 @@ static void crypto_hash_polarssl_close(struct crypto_hash *_ch) static void crypto_hash_polarssl_write(struct crypto_hash *_ch, const unsigned char *buf, size_t len) { -// struct crypto_hash_polarssl *ch = container_of(_ch, struct crypto_hash_libgcrypt, ch); +// struct crypto_hash_polarssl *ch = (struct crypto_hash_polarssl *)_ch; // gcry_md_write(ch->md, buf, len); } static unsigned char *crypto_hash_polarssl_read(struct crypto_hash *_ch) { -// struct crypto_hash_polarssl *ch = container_of(_ch, struct crypto_hash_libgcrypt, ch); +// struct crypto_hash_polarssl *ch = (struct crypto_hash_polarssl *)_ch; // return gcry_md_read(ch->md, 0); return NULL;