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/pubkey/x509_key.h | |
parent | acdceb716e83dd686122fb2a598ef56f4733caa0 (diff) |
Tidy
Diffstat (limited to 'src/pubkey/x509_key.h')
-rw-r--r-- | src/pubkey/x509_key.h | 7 |
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)); |