]> git.karo-electronics.de Git - linux-beck.git/blobdiff - net/sctp/protocol.c
Merge remote-tracking branch 'regulator/fix/of' into tmp
[linux-beck.git] / net / sctp / protocol.c
index 2c7785bacf744491524ee60dae73e5924099ad99..f898b1c58bd2cc9c35e49d796b2c4a06fe3376df 100644 (file)
@@ -1191,9 +1191,9 @@ static int __net_init sctp_net_init(struct net *net)
        net->sctp.cookie_preserve_enable        = 1;
 
        /* Default sctp sockets to use md5 as their hmac alg */
-#if defined (CONFIG_CRYPTO_MD5)
+#if defined (CONFIG_SCTP_DEFAULT_COOKIE_HMAC_MD5)
        net->sctp.sctp_hmac_alg                 = "md5";
-#elif defined (CONFIG_CRYPTO_SHA1)
+#elif defined (CONFIG_SCTP_DEFAULT_COOKIE_HMAC_SHA1)
        net->sctp.sctp_hmac_alg                 = "sha1";
 #else
        net->sctp.sctp_hmac_alg                 = NULL;