From patchwork Mon Mar 28 20:56:51 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olga Kornievskaia X-Patchwork-Id: 669962 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p2SKuund016055 for ; Mon, 28 Mar 2011 20:56:56 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753332Ab1C1U4x (ORCPT ); Mon, 28 Mar 2011 16:56:53 -0400 Received: from mail-iw0-f174.google.com ([209.85.214.174]:53258 "EHLO mail-iw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753257Ab1C1U4w (ORCPT ); Mon, 28 Mar 2011 16:56:52 -0400 Received: by iwn34 with SMTP id 34so4081951iwn.19 for ; Mon, 28 Mar 2011 13:56:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:date:x-google-sender-auth :message-id:subject:from:to:cc:content-type; bh=BxP6h7xFhWe79Lusvltnq77jVA3aDjLknreCy6EzFRA=; b=EnGHx15gLqVYy2t7ygn5cg2VmtzLWjZTfychWSl8ieaFvqm5HdPX6DUuJb3CcxBPeX OWKykMtjMutLxyeTaUhYCTJkr9pYWCNCAeATKFIxAsP1bH2sSeKjHbNkH9N99oKmRQqt JjJV/NDpGnINtMTYbOFogBqEfOqYusvjUBGcc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; b=T1dIItKl5SHjhYu6jQ52sjVeYXkXd8YpxakFa09x3FVqgiQEfY1jGjvgeuGGjoNMpp R/me/ujYzJRQ+jtQPipmA3pCt0sUen5kT4AdQ+1NwEgMtTzjDqpTf3MIPvBrRtS6YEJe xbgCJSCnfdZxNly0/BJtELFxmrazSe1I1cTJg= MIME-Version: 1.0 Received: by 10.43.49.10 with SMTP id uy10mr294609icb.407.1301345811857; Mon, 28 Mar 2011 13:56:51 -0700 (PDT) Received: by 10.231.38.9 with HTTP; Mon, 28 Mar 2011 13:56:51 -0700 (PDT) Date: Mon, 28 Mar 2011 16:56:51 -0400 X-Google-Sender-Auth: x1J_NclN-ENFBMFIbBDpExFUbG4 Message-ID: Subject: rc4-hmac-md5 mount failure From: Olga Kornievskaia To: linux-nfs Cc: Trond Myklebust Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Mon, 28 Mar 2011 20:56:56 +0000 (UTC) diff --git a/net/sunrpc/auth_gss/gss_krb5_mech.c b/net/sunrpc/auth_gss/gss_krb5_ index 0326446..8a4d083c 100644 --- a/net/sunrpc/auth_gss/gss_krb5_mech.c +++ b/net/sunrpc/auth_gss/gss_krb5_mech.c @@ -422,7 +422,7 @@ static int context_derive_keys_rc4(struct krb5_ctx *ctx) { struct crypto_hash *hmac; - char sigkeyconstant[] = "signaturekey"; + static const char sigkeyconstant[] = "signaturekey"; int slen = strlen(sigkeyconstant) + 1; /* include null terminator */ struct hash_desc desc; struct scatterlist sg[1];