summaryrefslogtreecommitdiff
path: root/mpi.cpp
diff options
context:
space:
mode:
authorErwin Nindl <nine@wirdorange.org>2007-12-11 13:11:01 +0000
committerErwin Nindl <nine@wirdorange.org>2007-12-11 13:11:01 +0000
commit713cb823e69dd760a5a1e39e73ba08dd240e6deb (patch)
treeefa866b9008ca78cc0629e86ea2f401e8565386c /mpi.cpp
parentsender sequenze number fixed (diff)
fixed mpi default construktor
Diffstat (limited to 'mpi.cpp')
-rw-r--r--mpi.cpp3
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)