﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
11181	buggy patch of liboauth-1.0.3	Xi Ruoyao	Douglas R. Reno	"The [http://www.linuxfromscratch.org/patches/blfs/svn/liboauth-1.0.3-openssl-1.1.0-2.patch patch] introduced a warning:

{{{
hash,c: In function 'oauth_verify_rsa_sha1':
hash.c:463:19: warning: passing argument 1 of 'EVP_MD_CTX_free' from incompatible pointer type [-Wincompatible-pointer-types]
    EVP_MD_CTX_free(pkey);
    
In file included from /usr/include/openssl/hmac.h:15,
                 from hash.c:363:
/usr/include/openssl/evp.h:499:34: note: expected 'EVP_MD_CTX *' {aka 'struct evp_md_ctx_st *'} but argument is of type 'EVP_PKEY *' {aka 'struct evp_pkey_st *'}
  void EVP_MD_CTX_free(EVP_MD_CTX *ctx);
}}}

Then the testsuite of liboauth-1.0.3 fails **because of this**.  To fix this bug we should change hash.c:463 to be `EVP_MD_CTX_free(md_ctx);`."	defect	closed	normal	8.4	BOOK	SVN	high	fixed		
