Fixed "error: unused function 'StoreRsaKey'" with NO_ASN_TIME and RSA enabled.

This commit is contained in:
David Garske
2016-02-12 13:19:58 -08:00
parent aeaac15682
commit a969dd8efd

View File

@@ -2272,7 +2272,6 @@ static int GetCertHeader(DecodedCert* cert)
return ret; return ret;
} }
#endif /* !NO_ASN_TIME */
#if !defined(NO_RSA) #if !defined(NO_RSA)
/* Store Rsa Key, may save later, Dsa could use in future */ /* Store Rsa Key, may save later, Dsa could use in future */
@@ -2297,6 +2296,7 @@ static int StoreRsaKey(DecodedCert* cert)
return 0; return 0;
} }
#endif #endif
#endif /* !NO_ASN_TIME */
#ifdef HAVE_ECC #ifdef HAVE_ECC