git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix crash
[novacoin.git]
/
src
/
key.cpp
diff --git
a/src/key.cpp
b/src/key.cpp
index
2f840ae
..
0aaa948
100644
(file)
--- a/
src/key.cpp
+++ b/
src/key.cpp
@@
-703,8
+703,7
@@
void CMalleablePubKey::GetVariant(CPubKey &R, CPubKey &vchPubKeyVariant)
R = CPubKey(vchPubKey);
// OpenSSL BIGNUM representation of r value
- CBigNum bnr;
- bnr = *(CBigNum*) EC_KEY_get0_private_key(eckey);
+ CBigNum bnr(EC_KEY_get0_private_key(eckey));
EC_KEY_free(eckey);
CPoint point;