summaryrefslogtreecommitdiff
path: root/futility/vb2_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'futility/vb2_helper.c')
-rw-r--r--futility/vb2_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/futility/vb2_helper.c b/futility/vb2_helper.c
index fae1d255..ba04db33 100644
--- a/futility/vb2_helper.c
+++ b/futility/vb2_helper.c
@@ -214,7 +214,7 @@ int ft_show_pem(const char *name, uint8_t *buf, uint32_t len, void *data)
/* We're called only after ft_recognize_pem, so this should work. */
rsa_key = rsa_from_buffer(buf, len);
if (!rsa_key)
- DIE;
+ FATAL("No RSA key found in buffer\n");
/* Use to presence of the private exponent to decide if it's public */
RSA_get0_key(rsa_key, &rsa_key_n, NULL, &rsa_key_d);