]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - net/sctp/auth.c
Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[linux.git] / net / sctp / auth.c
index 5b537613946fcaaabcb2716b74b5a7188a828142..39d72e58b8e55d9fe70d535e8bb397e75d8df0da 100644 (file)
@@ -471,12 +471,6 @@ int sctp_auth_init_hmacs(struct sctp_endpoint *ep, gfp_t gfp)
        struct crypto_shash *tfm = NULL;
        __u16   id;
 
-       /* If AUTH extension is disabled, we are done */
-       if (!ep->auth_enable) {
-               ep->auth_hmacs = NULL;
-               return 0;
-       }
-
        /* If the transforms are already allocated, we are done */
        if (ep->auth_hmacs)
                return 0;