Commit 866eedb9 authored by Lutz Jänicke's avatar Lutz Jänicke
Browse files

Shut up compiler warnings for inconsistent declarations.

parent f701551f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -415,7 +415,7 @@ int ASN1_item_ex_d2i(ASN1_VALUE **pval, unsigned char **in, long len, const ASN1
 * rest.
 */

int asn1_template_ex_d2i(ASN1_VALUE **val, unsigned char **in, long inlen, const ASN1_TEMPLATE *tt, char opt, ASN1_TLC *ctx)
static int asn1_template_ex_d2i(ASN1_VALUE **val, unsigned char **in, long inlen, const ASN1_TEMPLATE *tt, char opt, ASN1_TLC *ctx)
{
	int flags, aclass;
	int ret;
+1 −1
Original line number Diff line number Diff line
@@ -276,7 +276,7 @@ int ASN1_template_new(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt)
	return ret;
}

void asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt)
static void asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt)
{
	/* If ADB or STACK just NULL the field */
	if(tt->flags & (ASN1_TFLG_ADB_MASK|ASN1_TFLG_SK_MASK)) 
+1 −1
Original line number Diff line number Diff line
@@ -1222,7 +1222,7 @@ static int hwcrhk_mutex_lock(HWCryptoHook_Mutex *mt)
	return 0;
	}

void hwcrhk_mutex_unlock(HWCryptoHook_Mutex * mt)
static void hwcrhk_mutex_unlock(HWCryptoHook_Mutex * mt)
	{
	CRYPTO_w_unlock(mt->lockid);
	}