aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/misc/srp6/srp6_files.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/misc/srp6/srp6_files.h')
-rw-r--r--src/lib/misc/srp6/srp6_files.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/misc/srp6/srp6_files.h b/src/lib/misc/srp6/srp6_files.h
index 2b20de7a3..db128727e 100644
--- a/src/lib/misc/srp6/srp6_files.h
+++ b/src/lib/misc/srp6/srp6_files.h
@@ -9,6 +9,7 @@
#define BOTAN_SRP6A_FILES_H__
#include <botan/bigint.h>
+#include <iosfwd>
#include <string>
#include <map>
@@ -20,11 +21,11 @@ namespace Botan {
class BOTAN_DLL SRP6_Authenticator_File
{
public:
+
/**
- * @param filename will be opened and processed as a SRP
- * authenticator file
+ * @param input will be read and processed as SRP authenticator file
*/
- explicit SRP6_Authenticator_File(const std::string& filename);
+ explicit SRP6_Authenticator_File(std::istream& input);
bool lookup_user(const std::string& username,
BigInt& v,