Skip to content

Commit d34d502

Browse files
committed
adding test to confirm creation of Cipher withOAEPWithSha1AndMGF1Padding is possible
1 parent f3a0964 commit d34d502

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/ruby/test_cipher.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ def test_cipher_extended_support
2727
OpenSSL::Cipher.new 'PBEWithSHA1AndRC2_40-CBC' # Sun JCE
2828
#OpenSSL::Cipher.new 'RSA/ECB' # Sun JCE
2929
OpenSSL::Cipher.new 'RSA/ECB/OAEPWITHSHA-512ANDMGF1PADDING' # Sun JCE
30+
OpenSSL::Cipher.new 'RSA/ECB/OAEPWithSHA1AndMGF1Padding' # Sun JCE
3031
OpenSSL::Cipher.new 'DESedeWrap/CBC/NOPADDING' # Sun JCE
3132
OpenSSL::Cipher.new 'XTEA/CBC/PKCS7Padding' # BC
3233
OpenSSL::Cipher.new 'Noekeon/CBC/ZeroBytePadding' # BC
@@ -349,4 +350,4 @@ def test_encrypt_aes_cfb_20_incompatibility
349350
end
350351
end
351352

352-
end
353+
end

0 commit comments

Comments
 (0)