diff options
author | lloyd <[email protected]> | 2009-03-02 06:58:45 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-03-02 06:58:45 +0000 |
commit | 6a0d23c063d1b7d52fd0ff780d61f4b602faa26e (patch) | |
tree | 95fa78a8d17de089d72333b36b923a1e3f423ed1 /src/algo_factory | |
parent | 609339f6237affd7041084382c92320d9768f47f (diff) |
Fix misspelled words in algo_factory.{cpp,h}, from Charles Brockman in bug 40
Diffstat (limited to 'src/algo_factory')
-rw-r--r-- | src/algo_factory/algo_factory.cpp | 19 | ||||
-rw-r--r-- | src/algo_factory/algo_factory.h | 6 |
2 files changed, 13 insertions, 12 deletions
diff --git a/src/algo_factory/algo_factory.cpp b/src/algo_factory/algo_factory.cpp index e966aee78..9a1152181 100644 --- a/src/algo_factory/algo_factory.cpp +++ b/src/algo_factory/algo_factory.cpp @@ -153,7 +153,7 @@ Algorithm_Factory::providers_of(const std::string& algo_spec) } /** -* Return the prototypical block cipher cooresponding to this request +* Return the prototypical block cipher corresponding to this request */ const BlockCipher* Algorithm_Factory::prototype_block_cipher(const std::string& algo_spec, @@ -164,7 +164,7 @@ Algorithm_Factory::prototype_block_cipher(const std::string& algo_spec, } /** -* Return the prototypical stream cipher cooresponding to this request +* Return the prototypical stream cipher corresponding to this request */ const StreamCipher* Algorithm_Factory::prototype_stream_cipher(const std::string& algo_spec, @@ -175,7 +175,7 @@ Algorithm_Factory::prototype_stream_cipher(const std::string& algo_spec, } /** -* Return the prototypical object cooresponding to this request (if found) +* Return the prototypical object corresponding to this request (if found) */ const HashFunction* Algorithm_Factory::prototype_hash_function(const std::string& algo_spec, @@ -186,18 +186,19 @@ Algorithm_Factory::prototype_hash_function(const std::string& algo_spec, } /** -* Return the prototypical object cooresponding to this request +* Return the prototypical object corresponding to this request */ const MessageAuthenticationCode* Algorithm_Factory::prototype_mac(const std::string& algo_spec, const std::string& provider) { - return factory_prototype<MessageAuthenticationCode>(algo_spec, provider, engines, + return factory_prototype<MessageAuthenticationCode>(algo_spec, provider, + engines, *this, mac_cache); } /** -* Return a new block cipher cooresponding to this request +* Return a new block cipher corresponding to this request */ BlockCipher* Algorithm_Factory::make_block_cipher(const std::string& algo_spec, @@ -209,7 +210,7 @@ Algorithm_Factory::make_block_cipher(const std::string& algo_spec, } /** -* Return a new stream cipher cooresponding to this request +* Return a new stream cipher corresponding to this request */ StreamCipher* Algorithm_Factory::make_stream_cipher(const std::string& algo_spec, @@ -221,7 +222,7 @@ Algorithm_Factory::make_stream_cipher(const std::string& algo_spec, } /** -* Return a new object cooresponding to this request +* Return a new object corresponding to this request */ HashFunction* Algorithm_Factory::make_hash_function(const std::string& algo_spec, @@ -233,7 +234,7 @@ Algorithm_Factory::make_hash_function(const std::string& algo_spec, } /** -* Return a new object cooresponding to this request +* Return a new object corresponding to this request */ MessageAuthenticationCode* Algorithm_Factory::make_mac(const std::string& algo_spec, diff --git a/src/algo_factory/algo_factory.h b/src/algo_factory/algo_factory.h index 9c989b749..e7e8ac07b 100644 --- a/src/algo_factory/algo_factory.h +++ b/src/algo_factory/algo_factory.h @@ -31,11 +31,11 @@ class BOTAN_DLL Algorithm_Factory { public: /** - * Contructor - * @param engines the list of engines to use + * Constructor + * @param engines_in the list of engines to use * @param mf a mutex factory */ - Algorithm_Factory(const std::vector<Engine*>& engines, + Algorithm_Factory(const std::vector<Engine*>& engines_in, Mutex_Factory& mf); /** |