aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libstrongswan/crypto/pkcs5.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libstrongswan/crypto/pkcs5.c b/src/libstrongswan/crypto/pkcs5.c
index 7a7339915..ed2c41a0d 100644
--- a/src/libstrongswan/crypto/pkcs5.c
+++ b/src/libstrongswan/crypto/pkcs5.c
@@ -606,6 +606,12 @@ pkcs5_t *pkcs5_from_algorithmIdentifier(chunk_t blob, int level0)
this->encr = ENCR_DES;
this->data.pbes1.hash = HASH_SHA1;
break;
+ case OID_PBE_SHA1_3DES_CBC:
+ this->scheme = PKCS5_SCHEME_PKCS12;
+ this->keylen = 24;
+ this->encr = ENCR_3DES;
+ this->data.pbes1.hash = HASH_SHA1;
+ break;
case OID_PBE_SHA1_RC2_CBC_40:
this->scheme = PKCS5_SCHEME_PKCS12;
this->keylen = 5;