]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - crypto.c
fix two crashes that divVerent found and fixed but didn't commit
[xonotic/darkplaces.git] / crypto.c
index ef281462187b7bb9be90c2071c51f84d20330bfc..7bd36d12b2704c093602c0c2a795ad5a8f0c17d2 100644 (file)
--- a/crypto.c
+++ b/crypto.c
@@ -914,6 +914,13 @@ void Crypto_Init(void)
 }
 // end
 
+qboolean Crypto_Available(void)
+{
+       if(!d0_blind_id_dll)
+               return false;
+       return true;
+}
+
 // keygen code
 static void Crypto_KeyGen_Finished(int code, size_t length_received, unsigned char *buffer, void *cbdata)
 {