aboutsummaryrefslogtreecommitdiffstats
path: root/src/pbe
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-06-01 15:05:10 +0000
committerlloyd <[email protected]>2012-06-01 15:05:10 +0000
commitd2755b1bf1b37abcfa28e3a23e73fe40ce99b107 (patch)
treed24827bd1eb97b7b6426aa7f74a7cba747bf8d76 /src/pbe
parentf0baffd392e08344c968e8697c66978e1a61baeb (diff)
Wrong OID name
Diffstat (limited to 'src/pbe')
-rw-r--r--src/pbe/pbes2/pbes2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pbe/pbes2/pbes2.cpp b/src/pbe/pbes2/pbes2.cpp
index 3d9ebc56e..d29bc06f6 100644
--- a/src/pbe/pbes2/pbes2.cpp
+++ b/src/pbe/pbes2/pbes2.cpp
@@ -172,7 +172,7 @@ PBE_PKCS5v20::PBE_PKCS5v20(const std::vector<byte>& params,
.decode(iterations)
.decode_optional(key_length, INTEGER, UNIVERSAL)
.decode_optional(prf_algo, SEQUENCE, CONSTRUCTED,
- AlgorithmIdentifier("HMAC(SHA-1)",
+ AlgorithmIdentifier("HMAC(SHA-160)",
AlgorithmIdentifier::USE_NULL_PARAM))
.verify_end()
.end_cons();