Adapt everything else to the updated OSSL_ENCODER_CTX_new_by_EVP_PKEY()
[openssl.git] / apps / rsa.c
index da1342b4c0b134ba05f873b12b386830db52d61b..058c2be2adc77f94ceba482fde8b1fd80797032d 100644 (file)
@@ -323,7 +323,7 @@ int rsa_main(int argc, char **argv)
     /* Now, perform the encoding */
     ectx = OSSL_ENCODER_CTX_new_by_EVP_PKEY(pkey, selection,
                                             output_type, output_structure,
-                                            NULL, NULL);
+                                            NULL);
     if (OSSL_ENCODER_CTX_get_num_encoders(ectx) == 0) {
         BIO_printf(bio_err, "%s format not supported\n", output_type);
         goto end;