diff options
author | lloyd <[email protected]> | 2010-09-30 12:57:19 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-09-30 12:57:19 +0000 |
commit | 9e0aa0dca7a4fbfcd9204ba24e678108202569d2 (patch) | |
tree | 78af4294eb27fdcebbcd5cceccdf22ea86547391 /src | |
parent | acdceb716e83dd686122fb2a598ef56f4733caa0 (diff) |
Tidy
Diffstat (limited to 'src')
-rw-r--r-- | src/math/numbertheory/point_gfp.cpp | 3 | ||||
-rw-r--r-- | src/pubkey/x509_key.h | 7 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/math/numbertheory/point_gfp.cpp b/src/math/numbertheory/point_gfp.cpp index 1f6c1ddf6..56d4a145a 100644 --- a/src/math/numbertheory/point_gfp.cpp +++ b/src/math/numbertheory/point_gfp.cpp @@ -324,7 +324,8 @@ PointGFp operator*(const BigInt& scalar, const PointGFp& point) while(bits_left >= window_size) { - u32bit nibble = scalar.get_substring(bits_left - window_size, window_size); + u32bit nibble = scalar.get_substring(bits_left - window_size, + window_size); for(u32bit i = 0; i != window_size; ++i) H.mult2(ws); diff --git a/src/pubkey/x509_key.h b/src/pubkey/x509_key.h index 4b17f9974..7dd2a9db8 100644 --- a/src/pubkey/x509_key.h +++ b/src/pubkey/x509_key.h @@ -8,10 +8,11 @@ #ifndef BOTAN_X509_PUBLIC_KEY_H__ #define BOTAN_X509_PUBLIC_KEY_H__ -#include <botan/pipe.h> #include <botan/pk_keys.h> #include <botan/alg_id.h> #include <botan/pubkey_enums.h> +#include <botan/pipe.h> +#include <string> namespace Botan { @@ -83,8 +84,8 @@ BOTAN_DLL Key_Constraints find_constraints(const Public_Key& pub_key, * @param encoding the encoding type to use */ inline void encode(const Public_Key& key, - Pipe& pipe, - X509_Encoding encoding = PEM) + Pipe& pipe, + X509_Encoding encoding = PEM) { if(encoding == PEM) pipe.write(X509::PEM_encode(key)); |