Add forgotten #ifdef and depends_on
diff --git a/library/pk.c b/library/pk.c
index d1bd215..a1c7c1d 100644
--- a/library/pk.c
+++ b/library/pk.c
@@ -108,6 +108,7 @@
     return( 0 );
 }
 
+#if defined(POLARSSL_RSA_C)
 /*
  * Set RSA padding
  */
@@ -121,6 +122,7 @@
 
     return( 0 );
 }
+#endif /* POLARSSL_RSA_C */
 
 /*
  * Initialize an RSA-alt context
diff --git a/tests/suites/test_suite_pk.data b/tests/suites/test_suite_pk.data
index e7a52af..3821bae 100644
--- a/tests/suites/test_suite_pk.data
+++ b/tests/suites/test_suite_pk.data
@@ -15,7 +15,6 @@
 pk_utils:POLARSSL_PK_ECDSA:192:24:"ECDSA"
 
 PK RSA padding: RSA (ok)
-depends_on:POLARSSL_RSA_C
 pk_set_rsa_padding:POLARSSL_PK_RSA:RSA_PKCS_V21:POLARSSL_MD_SHA512:0
 
 PK RSA padding: ECKEY (error)
diff --git a/tests/suites/test_suite_pk.function b/tests/suites/test_suite_pk.function
index 268721e..5cdb1c8 100644
--- a/tests/suites/test_suite_pk.function
+++ b/tests/suites/test_suite_pk.function
@@ -54,7 +54,7 @@
 }
 /* END_CASE */
 
-/* BEGIN_CASE */
+/* BEGIN_CASE depends_on:POLARSSL_RSA_C */
 void pk_set_rsa_padding( int type, int padding, int hash_id, int ret )
 {
     pk_context pk;