aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-11-26 12:21:44 -0500
committerJack Lloyd <[email protected]>2016-11-26 12:21:44 -0500
commit5372d0b499ad317ab3776c9ac92df866cc6a1e84 (patch)
tree580beb47da6a577a37248f0996f6557ceb335cf9 /src
parent97829faaf53c51842c206963c00918423a0a0a5b (diff)
Fix OpenSSL RC4 clone - ignored skip param
Diffstat (limited to 'src')
-rw-r--r--src/lib/prov/openssl/openssl_rc4.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/prov/openssl/openssl_rc4.cpp b/src/lib/prov/openssl/openssl_rc4.cpp
index b43d801ed..c8ba32235 100644
--- a/src/lib/prov/openssl/openssl_rc4.cpp
+++ b/src/lib/prov/openssl/openssl_rc4.cpp
@@ -38,7 +38,7 @@ class OpenSSL_RC4 : public StreamCipher
}
}
- StreamCipher* clone() const override { return new OpenSSL_RC4; }
+ StreamCipher* clone() const override { return new OpenSSL_RC4(m_skip); }
Key_Length_Specification key_spec() const override
{