Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ce5bd4aca3c467936370846119b7f3daf9ccea78
Commit:     ce5bd4aca3c467936370846119b7f3daf9ccea78
Parent:     3631c650c495d61b1dabf32eb26b46873636e918
Author:     Herbert Xu <[EMAIL PROTECTED]>
AuthorDate: Fri Dec 14 00:28:40 2007 +0800
Committer:  Herbert Xu <[EMAIL PROTECTED]>
CommitDate: Fri Jan 11 08:16:54 2008 +1100

    [CRYPTO] null: Allow setkey on digest_null
    
    We need to allow setkey on digest_null if it is to be used directly by
    authenc instead of through hmac.
    
    Signed-off-by: Herbert Xu <[EMAIL PROTECTED]>
---
 crypto/crypto_null.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/crypto/crypto_null.c b/crypto/crypto_null.c
index fc2d2a4..ff7b3de 100644
--- a/crypto/crypto_null.c
+++ b/crypto/crypto_null.c
@@ -98,6 +98,7 @@ static struct crypto_alg digest_null = {
        .cra_list               =       LIST_HEAD_INIT(digest_null.cra_list),   
        .cra_u                  =       { .digest = {
        .dia_digestsize         =       NULL_DIGEST_SIZE,
+       .dia_setkey             =       null_setkey,
        .dia_init               =       null_init,
        .dia_update             =       null_update,
        .dia_final              =       null_final } }
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to