summaryrefslogtreecommitdiff
path: root/src/libstrongswan/plugins/pkcs1/pkcs1_encoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstrongswan/plugins/pkcs1/pkcs1_encoder.c')
-rw-r--r--src/libstrongswan/plugins/pkcs1/pkcs1_encoder.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstrongswan/plugins/pkcs1/pkcs1_encoder.c b/src/libstrongswan/plugins/pkcs1/pkcs1_encoder.c
index 60f0ca757..2c3bf6e7c 100644
--- a/src/libstrongswan/plugins/pkcs1/pkcs1_encoder.c
+++ b/src/libstrongswan/plugins/pkcs1/pkcs1_encoder.c
@@ -22,7 +22,7 @@
/**
* 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;
@@ -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
*/
-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;
@@ -61,7 +61,7 @@ bool build_pub_info(chunk_t *encoding, va_list args)
/**
* 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;