Fix dependencies
diff --git a/library/x509.c b/library/x509.c
index e9dc680..1a5f98a 100644
--- a/library/x509.c
+++ b/library/x509.c
@@ -132,6 +132,7 @@
     return( 0 );
 }
 
+#if defined(POLARSSL_RSASSA_PSS_CERTIFICATES)
 /*
  * HashAlgorithm ::= AlgorithmIdentifier
  *
@@ -324,6 +325,7 @@
 
     return( 0 );
 }
+#endif /* POLARSSL_RSASSA_PSS_CERTIFICATES */
 
 /*
  *  AttributeTypeAndValue ::= SEQUENCE {