Make some private functions in plugins static
Fixes monolithic build.
This commit is contained in:
@@ -20,7 +20,7 @@
|
|||||||
/**
|
/**
|
||||||
* Encode an RSA public key in DNSKEY format (RFC 3110)
|
* Encode an RSA public key in DNSKEY format (RFC 3110)
|
||||||
*/
|
*/
|
||||||
bool build_pub(chunk_t *encoding, va_list args)
|
static bool build_pub(chunk_t *encoding, va_list args)
|
||||||
{
|
{
|
||||||
chunk_t n, e, pubkey;
|
chunk_t n, e, pubkey;
|
||||||
size_t exp_len;
|
size_t exp_len;
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
/**
|
/**
|
||||||
* Encode a public key in PKCS#1/ASN.1 DER
|
* Encode a public key in PKCS#1/ASN.1 DER
|
||||||
*/
|
*/
|
||||||
bool build_pub(chunk_t *encoding, va_list args)
|
static bool build_pub(chunk_t *encoding, va_list args)
|
||||||
{
|
{
|
||||||
chunk_t n, e;
|
chunk_t n, e;
|
||||||
|
|
||||||
@@ -40,7 +40,7 @@ bool build_pub(chunk_t *encoding, va_list args)
|
|||||||
/**
|
/**
|
||||||
* Encode a public key in PKCS#1/ASN.1 DER, contained in subjectPublicKeyInfo
|
* Encode a public key in PKCS#1/ASN.1 DER, contained in subjectPublicKeyInfo
|
||||||
*/
|
*/
|
||||||
bool build_pub_info(chunk_t *encoding, va_list args)
|
static bool build_pub_info(chunk_t *encoding, va_list args)
|
||||||
{
|
{
|
||||||
chunk_t n, e;
|
chunk_t n, e;
|
||||||
|
|
||||||
@@ -61,7 +61,7 @@ bool build_pub_info(chunk_t *encoding, va_list args)
|
|||||||
/**
|
/**
|
||||||
* Encode a private key in PKCS#1/ASN.1 DER
|
* Encode a private key in PKCS#1/ASN.1 DER
|
||||||
*/
|
*/
|
||||||
bool build_priv(chunk_t *encoding, va_list args)
|
static bool build_priv(chunk_t *encoding, va_list args)
|
||||||
{
|
{
|
||||||
chunk_t n, e, d, p, q, exp1, exp2, coeff;
|
chunk_t n, e, d, p, q, exp1, exp2, coeff;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user