diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index ccbcc679e..63dbf0673 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -65,6 +65,7 @@
+ OpenSslCryptoRandom.isNativeCodeEnabled() throws if library cannot be loaded
docker build does not work on macOS M1
cannot use THROW to report missing env
openssl(2) not supported since Sierra on macOS M1
diff --git a/src/main/java/org/apache/commons/crypto/random/OpenSslCryptoRandom.java b/src/main/java/org/apache/commons/crypto/random/OpenSslCryptoRandom.java
index c20e83e80..71606d28c 100644
--- a/src/main/java/org/apache/commons/crypto/random/OpenSslCryptoRandom.java
+++ b/src/main/java/org/apache/commons/crypto/random/OpenSslCryptoRandom.java
@@ -59,16 +59,6 @@ final class OpenSslCryptoRandom implements CryptoRandom {
}
nativeEnabled = opensslLoaded;
initException = except;
- //
- // Check that nextRandBytes works (is this really needed?)
- try {
- checkNative();
- } catch (final GeneralSecurityException e) {
- throw new IllegalStateException(e);
- }
- if (!OpenSslCryptoRandomNative.nextRandBytes(new byte[1])) {
- throw new IllegalStateException("Check of nextRandBytes failed");
- }
}
private static void checkNative() throws GeneralSecurityException {