summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/lib/libcryptoutil/common/mechstr.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/usr/src/lib/libcryptoutil/common/mechstr.c b/usr/src/lib/libcryptoutil/common/mechstr.c
index 3523332c9c..2283acdf11 100644
--- a/usr/src/lib/libcryptoutil/common/mechstr.c
+++ b/usr/src/lib/libcryptoutil/common/mechstr.c
@@ -2,9 +2,8 @@
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -39,8 +38,8 @@
#include <cryptoutil.h>
/*
- * The table below is dynamically generated by parsing pkcs11t.h
- * from the Makefile.
+ * This table is a one-to-one mapping between mechanism names and numbers.
+ * As such, it should not contain deprecated mechanism names (aliases).
*/
static const struct {
const char *str;
@@ -232,7 +231,6 @@ static const struct {
{ "CKM_BATON_COUNTER", CKM_BATON_COUNTER },
{ "CKM_BATON_SHUFFLE", CKM_BATON_SHUFFLE },
{ "CKM_BATON_WRAP", CKM_BATON_WRAP },
- { "CKM_ECDSA_KEY_PAIR_GEN", CKM_ECDSA_KEY_PAIR_GEN },
{ "CKM_EC_KEY_PAIR_GEN", CKM_EC_KEY_PAIR_GEN },
{ "CKM_ECDSA", CKM_ECDSA },
{ "CKM_ECDSA_SHA1", CKM_ECDSA_SHA1 },