index
:
anytun/anytun.git
lua
master
new-multithreading
newcrypt
v0.1
v0.2
v0.2.1
v0.3
v0.3.1
v0.3.2
v0.3.3
v0.3.4
v0.3.5
v0.3.6
v0.3.7
v0.3.8
ws-cleanups
anycast tunneling daemon
summary
refs
log
tree
commit
diff
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rw-r--r--
mpi.cpp
3
1 files changed, 2 insertions, 1 deletions
diff --git a/mpi.cpp b/mpi.cpp
index c22e503..5e094ae 100644
--- a/
mpi.cpp
+++ b/
mpi.cpp
@@ -37,8 +37,9 @@
#include <gcrypt.h>
-Mpi::Mpi() : val_(NULL)
+Mpi::Mpi()
{
+ val_ = gcry_mpi_new(1);
}
Mpi::Mpi(u_int8_t length)