diff options
author | Bodo Möller <bodo@openssl.org> | 2003-02-12 22:01:12 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2003-02-12 22:01:12 +0000 |
commit | abd22c9c46e089cda5023b6dc6f872723d95fd24 (patch) | |
tree | 6fc5b218d75fd24c488169a7bbd5784986b64c66 | |
parent | ba729265a819d4c36df730449aeb301927ca74f2 (diff) | |
download | openssl-new-abd22c9c46e089cda5023b6dc6f872723d95fd24.tar.gz |
new lock for EC_PRE_COMP structures
Submitted by: Nils Larsch
-rw-r--r-- | crypto/cryptlib.c | 5 | ||||
-rw-r--r-- | crypto/crypto.h | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/crypto/cryptlib.c b/crypto/cryptlib.c index fb3e93fe27..bc023e3f44 100644 --- a/crypto/cryptlib.c +++ b/crypto/cryptlib.c @@ -1,6 +1,6 @@ /* crypto/cryptlib.c */ /* ==================================================================== - * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. + * Copyright (c) 1998-2003 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -166,7 +166,8 @@ static const char* lock_names[CRYPTO_NUM_LOCKS] = "ec", "ecdh", "bn", -#if CRYPTO_NUM_LOCKS != 36 + "ec_pre_comp", +#if CRYPTO_NUM_LOCKS != 37 # error "Inconsistency between crypto.h and cryptlib.c" #endif }; diff --git a/crypto/crypto.h b/crypto/crypto.h index a7491fde13..fa799a7623 100644 --- a/crypto/crypto.h +++ b/crypto/crypto.h @@ -1,6 +1,6 @@ /* crypto/crypto.h */ /* ==================================================================== - * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. + * Copyright (c) 1998-2003 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -189,7 +189,8 @@ extern "C" { #define CRYPTO_LOCK_EC 33 #define CRYPTO_LOCK_ECDH 34 #define CRYPTO_LOCK_BN 35 -#define CRYPTO_NUM_LOCKS 36 +#define CRYPTO_LOCK_EC_PRE_COMP 36 +#define CRYPTO_NUM_LOCKS 37 #define CRYPTO_LOCK 1 #define CRYPTO_UNLOCK 2 |