diff --git a/common/marshaller.c b/common/marshaller.c index 2934d22..36aadfd 100644 --- a/common/marshaller.c +++ b/common/marshaller.c @@ -392,7 +392,7 @@ SpiceMarshaller *spice_marshaller_get_ptr_submarshaller(SpiceMarshaller *m, int return m2; } -uint8_t *lookup_ref(MarshallerRef *ref) +static uint8_t *lookup_ref(MarshallerRef *ref) { MarshallerItem *item; diff --git a/common/ssl_verify.c b/common/ssl_verify.c index cb77b7e..236fa01 100644 --- a/common/ssl_verify.c +++ b/common/ssl_verify.c @@ -263,7 +263,7 @@ static int verify_hostname(X509* cert, const char *hostname) return cn_match; } -X509_NAME* subject_to_x509_name(const char *subject, int *nentries) +static X509_NAME* subject_to_x509_name(const char *subject, int *nentries) { X509_NAME* in_subject; const char *p; @@ -352,7 +352,7 @@ fail: return NULL; } -int verify_subject(X509* cert, SpiceOpenSSLVerify* verify) +static int verify_subject(X509* cert, SpiceOpenSSLVerify* verify) { X509_NAME *cert_subject = NULL; int ret;