aboutsummaryrefslogtreecommitdiffstats
path: root/src/wrap
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-09-03 13:23:45 +0000
committerlloyd <[email protected]>2010-09-03 13:23:45 +0000
commitcb9a034650620e4d392a2d2f978b687078e5002c (patch)
treed80914034f7130bc479d3c1bb2ea9f13619a5dd5 /src/wrap
parente201c88a7931bc892c7d608ee9130ceb7c0f2fef (diff)
Update some callers that were using Hex_Encoder or Hex_Decoder but
really didn't need to. The ones in symkey and big_code were actually calling accessor functions to do the encoding themselves without a Pipe (should have definitely recognized that as a code smell). These versions have changed semantically with this checkin - previously they would completely ignore bad inputs, but now invalid inputs are rejected. For instance, you cannot say SymmetricKey key("Only some of this is hex, most of it isn't"); And expect to get a valid key formed by filtering out the non-hex characters and then decoding it. This is almost certainly a good thing. Also fix include in Botan.xs
Diffstat (limited to 'src/wrap')
-rw-r--r--src/wrap/perl-xs/Botan.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wrap/perl-xs/Botan.xs b/src/wrap/perl-xs/Botan.xs
index ded129d2e..5268a96d1 100644
--- a/src/wrap/perl-xs/Botan.xs
+++ b/src/wrap/perl-xs/Botan.xs
@@ -14,7 +14,7 @@ extern "C" {
#include <botan/asn1_oid.h>
#include <botan/base64.h>
#include <botan/basefilt.h>
-#include <botan/hex.h>
+#include <botan/hex_filt.h>
#include <botan/init.h>
#include <botan/oids.h>
#include <botan/x509cert.h>