FreeBSD/contrib/ntp/libntp/libssl_compat.c
/* --------------------------------------------------------------------
 * set/get DSA signature parameters
 */
set/get DSA signature parameters
set / get DSA signature parameters
void
sslshim_DSA_SIG_get0(
	const DSA_SIG *	psig,
	const BIGNUM **	pr,
	const BIGNUM **	ps
	)
{
	REQUIRE(psig != NULL);
	if (pr != NULL)
		*pr = psig->r;
	if (ps != NULL)
		*ps = psig->s;
}
void sslshim_DSA_SIG_get0 ( const DSA_SIG * psig , const BIGNUM * * pr , const BIGNUM * * ps ) { REQUIRE ( psig != NULL ) ; if ( pr != NULL ) * pr = psig -> r ; if ( ps != NULL ) * ps = psig -> s ; }
set/get DSA signature parameters
set / get DSA signature parameters