From e8ab7b17355c311dfdb9f3aef33d179d9da74433 Mon Sep 17 00:00:00 2001 From: Zdenek Kotala Date: Mon, 19 Jul 2010 15:59:30 +0200 Subject: 6948723 Crypto to pkcs11 error mapping has wrong boundary checks 6936557 kernel_get_func_list does not set fl_verify* flags 6949122 return is missing in aes_check_mech_param in aes crypto module --- usr/src/uts/common/crypto/io/aes.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr/src/uts/common/crypto') diff --git a/usr/src/uts/common/crypto/io/aes.c b/usr/src/uts/common/crypto/io/aes.c index 328599e331..2c966064cd 100644 --- a/usr/src/uts/common/crypto/io/aes.c +++ b/usr/src/uts/common/crypto/io/aes.c @@ -19,8 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2010 Sun Microsystems, Inc. All rights reserved. - * Use is subject to license terms. + * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. */ /* @@ -301,6 +300,7 @@ aes_check_mech_param(crypto_mechanism_t *mechanism, aes_ctx_t **ctx, int kmflag) break; default: rv = CRYPTO_MECHANISM_INVALID; + return (rv); } if (param_required && mechanism->cm_param != NULL && mechanism->cm_param_len != param_len) { -- cgit v1.2.3