added basic ssl support to ircu
[ircu2.10.12-pk.git] / include / ircd_crypt.h
index f4c2fb6e8caede2742205787356237d28460b6ee..94d14b8b614e9fab0ee3a492237df398eb7198d6 100644 (file)
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- *
- * $Id$
+ */
+/** @file
+ * @brief Core password encryption and hashing APIs.
+ * @version $Id$
  */
 #ifndef INCLUDED_ircd_crypt_h
 #define INCLUDED_ircd_crypt_h
@@ -57,7 +59,7 @@ struct crypt_mechs_s {
 
 /* exported functions */
 extern void ircd_crypt_init(void);
-extern const char* ircd_crypt(const char* key, const char* salt);
+extern char* ircd_crypt(const char* key, const char* salt);
 extern int ircd_crypt_register_mech(crypt_mech_t* mechanism);
 extern int ircd_crypt_unregister_mech(crypt_mech_t* mechanism);