Fixed KE Start Payload parsing to check for mandatory fields.
[silc.git] / lib / silccrypt / silchmac.c
index e839956ed6989f1e9e5f9100ea4b512ce2b795ad..d2c50121c8d42632d8e3922d8fd286b022ac830d 100644 (file)
@@ -185,7 +185,7 @@ bool silc_hmac_unregister_all(void)
    of the HMAC.  If it is NULL then the hash function is allocated and
    the name of the hash algorithm is derived from the `name'. */
 
-bool silc_hmac_alloc(char *name, SilcHash hash, SilcHmac *new_hmac)
+bool silc_hmac_alloc(const char *name, SilcHash hash, SilcHmac *new_hmac)
 {
   SILC_LOG_DEBUG(("Allocating new HMAC"));