Update CMakeLists.txt - play with openssl
[novacoin.git] / src / uint256.cpp
index 2d65072..7e140a0 100644 (file)
@@ -3,15 +3,10 @@
 // Distributed under the MIT/X11 software license, see the accompanying
 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
 
-
 #include "uint256.h"
 
-#include <openssl/rand.h>
-
 #include <cassert>
-#include <cstdio>
 #include <cstring>
-#include <stdexcept>
 
 
 //////////////////////////////////////////////////////////////////////////////
@@ -216,10 +211,3 @@ uint256::uint256(const std::vector<unsigned char>& vch)
     else
         *this = 0;
 }
-
-uint256 GetRandHash()
-{
-    uint256 hash;
-    RAND_bytes(hash.begin(), hash.size());
-    return hash;
-}