Member variable 'CKey::fCompressedPubKey' is not assigned a value in 'CKey::operator=' 239/head
authorsvost <ya.nowa@yandex.ru>
Sun, 27 Sep 2015 08:04:24 +0000 (11:04 +0300)
committersvost <ya.nowa@yandex.ru>
Sun, 27 Sep 2015 08:04:24 +0000 (11:04 +0300)
src/key.cpp

index 6239ba5..e50a3bc 100644 (file)
@@ -201,6 +201,7 @@ CKey& CKey::operator=(const CKey& b)
     if (!EC_KEY_copy(pkey, b.pkey))
         throw key_error("CKey::operator=(const CKey&) : EC_KEY_copy failed");
     fSet = b.fSet;
+    fCompressedPubKey = b.fCompressedPubKey;
     return (*this);
 }