aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@exmulti.com>2012-07-21 06:59:25 -0700
committerJeff Garzik <jgarzik@exmulti.com>2012-07-21 06:59:25 -0700
commitfa914f1ddaeed79f1e2d5404b4789e3a1c1aebb2 (patch)
tree617221ef74816d66e6434fea885b7921fd5927b9 /src
parent134cb634b1d0b117291f33c0c80202157462797f (diff)
parenta7f82808c4d0d09ed7676b20d3281741ad8e3b0b (diff)
Merge pull request #1616 from Diapolo/OpenSSL_typo
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 47f6229431..9fea3f70fb 100644
--- a/src/bignum.h
+++ b/src/bignum.h
@@ -416,7 +416,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 963d58cd8b..4cb8a214da 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -75,7 +75,7 @@ bool fLogTimestamps = false;
CMedianFilter<int64> vTimeOffsets(200,0);
bool fReopenDebugLog = false;
-// Init openssl library multithreading support
+// Init OpenSSL library multithreading support
static CCriticalSection** ppmutexOpenSSL;
void locking_callback(int mode, int i, const char* file, int line)
{
@@ -92,7 +92,7 @@ class CInit
public:
CInit()
{
- // Init openssl library multithreading support
+ // Init OpenSSL library multithreading support
ppmutexOpenSSL = (CCriticalSection**)OPENSSL_malloc(CRYPTO_num_locks() * sizeof(CCriticalSection*));
for (int i = 0; i < CRYPTO_num_locks(); i++)
ppmutexOpenSSL[i] = new CCriticalSection();
@@ -108,7 +108,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];