diff --git a/ecrire/inc/acces.php b/ecrire/inc/acces.php
index 3f40cef3722dfe9b4027a1bc3ebeba3f708019bc..906c62eff401fc33a9cb6ad20315a5f7aa5d3446 100644
--- a/ecrire/inc/acces.php
+++ b/ecrire/inc/acces.php
@@ -123,8 +123,8 @@ function effacer_low_sec($id_auteur) {
 // http://doc.spip.org/@initialiser_sel
 function initialiser_sel() {
 	global $htsalt;
-
-	$htsalt = '$1$'.creer_pass_aleatoire();
+	if (CRYPT_MD5) $htsalt = '$1$'.creer_pass_aleatoire();
+	else return "";
 }