aboutsummaryrefslogtreecommitdiffstats
path: root/src/pubkey
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-09-30 12:57:19 +0000
committerlloyd <[email protected]>2010-09-30 12:57:19 +0000
commit9e0aa0dca7a4fbfcd9204ba24e678108202569d2 (patch)
tree78af4294eb27fdcebbcd5cceccdf22ea86547391 /src/pubkey
parentacdceb716e83dd686122fb2a598ef56f4733caa0 (diff)
Tidy
Diffstat (limited to 'src/pubkey')
-rw-r--r--src/pubkey/x509_key.h7
1 files changed, 4 insertions, 3 deletions
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));