]> www.wagner.pp.ru Git - openssl-gost/engine.git/blobdiff - tcl_tests/smimeenc.try
-debug_decrypt option
[openssl-gost/engine.git] / tcl_tests / smimeenc.try
index 0f341bfc71b3ec097b9eead8b542fd922146c069..da0c340b6832f80cd5272ea1ef4def487f38885e 100644 (file)
@@ -33,7 +33,7 @@ test "Make registered user $user" {
 
 
 test "RSA User 1 encrypts message for RSA user 2" {
-       openssl "smime -encrypt -in encrypt.dat -des -out enc_rsa.msg U_enc_rsa_2/cert.pem"
+       openssl "smime -encrypt -in encrypt.dat -aes-128-cbc -out enc_rsa.msg U_enc_rsa_2/cert.pem"
        file isfile enc_rsa.msg
 } 0 1
 
@@ -69,7 +69,7 @@ if {[info exist env(ENC_LIST)]} {
 } else {
        switch -exact [engine_name] {
                "ccore" {set enc_list {gost2001:XA:1.2.643.2.2.31.3 gost2001:XB:1.2.643.2.2.31.4 gost2001:XA: gost2012_256:XA:1.2.643.2.2.31.1 gost2012_256:XB:1.2.643.7.1.2.5.1.1 gost2012_256:XA: gost2012_512:A:1.2.643.2.2.31.3 gost2012_512:B:1.2.643.7.1.2.5.1.1 gost2012_512:A:}}
-               "open" {set enc_list {gost2001:XA:1.2.643.2.2.31.3 gost2001:XB:1.2.643.2.2.31.4 gost2001:XA: gost2012_256:XA:1.2.643.2.2.31.1 gost2012_256:XB:1.2.643.7.1.2.5.1.1 gost2012_256:XA: gost2012_512:A:1.2.643.2.2.31.3 gost2012_512:B:1.2.643.7.1.2.5.1.1 gost2012_512:A:}}
+               "open" {set enc_list {gost2001:XA:1.2.643.2.2.31.3 gost2001:XB:1.2.643.2.2.31.4 gost2012_256:XA:1.2.643.2.2.31.1 gost2012_256:XB:1.2.643.7.1.2.5.1.1 gost2012_512:A:1.2.643.2.2.31.3 gost2012_512:B:1.2.643.7.1.2.5.1.1}}
        }
 }