Add ECDH support.
[openssl.git] / crypto / cryptlib.c
index 9a7ed2cf754d994ab108f33e7544b1e72947b2f0..b72f7fb015913058333ff3bd91346022cd44ce91 100644 (file)
  * copied and put under another distribution licence
  * [including the GNU Public Licence.]
  */
+/* ====================================================================
+ * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED.
+ * ECDH support in OpenSSL originally developed by 
+ * SUN MICROSYSTEMS, INC., and contributed to the OpenSSL project.
+ */
 
 #include <stdio.h>
 #include <string.h>
@@ -105,7 +110,8 @@ static const char* lock_names[CRYPTO_NUM_LOCKS] =
        "ui",
        "ecdsa",
        "ec",
-#if CRYPTO_NUM_LOCKS != 33
+       "ecdh",
+#if CRYPTO_NUM_LOCKS != 34
 # error "Inconsistency between crypto.h and cryptlib.c"
 #endif
        };