Implement encrypt/decrypt using RSA.
[openssl.git] / apps / pkeyutl.c
index 0c6186791e46c48b4c2b6d5a11d98b9ac31dc533..5db0a362d17931c6e875884c9230a136d9178363 100644 (file)
@@ -163,8 +163,8 @@ int MAIN(int argc, char **argv)
                        hexdump = 1;
                else if(!strcmp(*argv, "-sign"))
                        pkey_op = EVP_PKEY_OP_SIGN;
-               else if(!strcmp(*argv, "-verify"))
-                       pkey_op = EVP_PKEY_OP_VERIFY;
+               else if(!strcmp(*argv, "-verifyrecover"))
+                       pkey_op = EVP_PKEY_OP_VERIFYRECOVER;
                else if(!strcmp(*argv, "-rev"))
                        rev = 1;
                else if(!strcmp(*argv, "-encrypt"))