changeset 346:d6ab7b606a50

compensate for SecureRandom bug on older devices
author Carl Byington <carl@five-ten-sg.com>
date Thu, 31 Jul 2014 18:51:21 -0700
parents 663637117cf8
children bb7d8a7babbe
files src/ch/ethz/ssh2/crypto/SecureRandomFix.java
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ch/ethz/ssh2/crypto/SecureRandomFix.java	Thu Jul 31 18:43:40 2014 -0700
+++ b/src/ch/ethz/ssh2/crypto/SecureRandomFix.java	Thu Jul 31 18:51:21 2014 -0700
@@ -4,6 +4,13 @@
 
 package ch.ethz.ssh2.crypto;
 
+import android.os.Build;
+import android.os.Process;
+
+import java.io.ByteArrayOutputStream;
+import java.io.DataOutputStream;
+import java.io.IOException;
+import java.io.UnsupportedEncodingException;
 import java.security.SecureRandom;