aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2012-07-21 12:44:54 +0200
committerLuke Dashjr <luke-jr+git@utopios.org>2012-07-22 22:09:49 +0000
commitec9a3c04edc5180e20cb25ecd16558f449fa52e0 (patch)
tree2eeaf0b48e6ace7a97397deb9f3eec5910bba68d /src
parent63f319353c6716e51f965043923779aee5251637 (diff)
downloadbitcoin-ec9a3c04edc5180e20cb25ecd16558f449fa52e0.tar.xz
fix OpenSSL not written as proper noun in some comments
Diffstat (limited to 'src')
-rw-r--r--src/bignum.h2
-rw-r--r--src/util.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/bignum.h b/src/bignum.h
index ef8423af9e..7db89b30c4 100644
--- a/src/bignum.h
+++ b/src/bignum.h
@@ -415,7 +415,7 @@ public:
CBigNum& operator>>=(unsigned int shift)
{
// Note: BN_rshift segfaults on 64-bit if 2^shift is greater than the number
- // if built on ubuntu 9.04 or 9.10, probably depends on version of openssl
+ // if built on ubuntu 9.04 or 9.10, probably depends on version of OpenSSL
CBigNum a = 1;
a <<= shift;
if (BN_cmp(&a, this) > 0)
diff --git a/src/util.cpp b/src/util.cpp
index 6e31540f2a..fb3bc64cc8 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -54,7 +54,7 @@ extern "C" void tss_cleanup_implemented() { }
-// Init openssl library multithreading support
+// Init OpenSSL library multithreading support
static boost::interprocess::interprocess_mutex** ppmutexOpenSSL;
void locking_callback(int mode, int i, const char* file, int line)
{
@@ -70,7 +70,7 @@ class CInit
public:
CInit()
{
- // Init openssl library multithreading support
+ // Init OpenSSL library multithreading support
ppmutexOpenSSL = (boost::interprocess::interprocess_mutex**)OPENSSL_malloc(CRYPTO_num_locks() * sizeof(boost::interprocess::interprocess_mutex*));
for (int i = 0; i < CRYPTO_num_locks(); i++)
ppmutexOpenSSL[i] = new boost::interprocess::interprocess_mutex();
@@ -86,7 +86,7 @@ public:
}
~CInit()
{
- // Shutdown openssl library multithreading support
+ // Shutdown OpenSSL library multithreading support
CRYPTO_set_locking_callback(NULL);
for (int i = 0; i < CRYPTO_num_locks(); i++)
delete ppmutexOpenSSL[i];