diff options
Diffstat (limited to 'libssh/wrapper.c')
-rw-r--r-- | libssh/wrapper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/wrapper.c b/libssh/wrapper.c index c4e0f36..f6abb3b 100644 --- a/libssh/wrapper.c +++ b/libssh/wrapper.c @@ -253,7 +253,7 @@ void md5_final(unsigned char *md,MD5CTX c){ HMACCTX hmac_init(const void *key, int len,int type){ HMACCTX ctx; - ctx=malloc(sizeof(HMAC_CTX)); + ctx=malloc(sizeof(*ctx)); #ifndef OLD_CRYPTO HMAC_CTX_init(ctx); // openssl 0.9.7 requires it. #endif |