diff --git a/examples/rsa-encrypt-test b/examples/rsa-encrypt-test
index 5fcc4614be24d42edc8c0f0097d75b0684fa4a63..1c0e6f2fd5aae37f7e4dad7bce9ef97eccb462fe 100755
--- a/examples/rsa-encrypt-test
+++ b/examples/rsa-encrypt-test
@@ -7,7 +7,7 @@ fi
 data="$srcdir/nettle-benchmark.c"
 
 if [ -x rsa-encrypt ] ; then
-  if ./rsa-encrypt testkey.pub < "$data" > testciphertext ; then
+  if ./rsa-encrypt -r rsa-encrypt testkey.pub < "$data" > testciphertext ; then
     :
   else
     exit 1