SIGN IN SIGN UP

apps: print an error for a non-positive genrsa bits argument

Previously a negative or zero numbits argument made genrsa exit
with a failure status without printing any error message.

Assisted-by: Claude:claude-fable-5
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.foundation>
Merge-date: Mon Sep  7 14:15:50 2026
Merged-from: https://github.com/openssl/openssl/pull/32592
J
Jakub Zelenka committed
d6d126cc6fd623ce7efe85a1de2e0bf60230aaab
Parent: 4d4b0d9
Committed by Tomas Mraz <tomas@openssl.foundation> on 9/7/2026, 2:15:20 PM