mirror of https://github.com/wolfSSL/wolfBoot.git
Fixed comparison of RSA4096 header size in sign.py
parent
048eaffbe6
commit
7b51eef290
|
@ -491,7 +491,7 @@ else:
|
|||
WOLFBOOT_HEADER_SIZE = 512
|
||||
HDR_SIGNATURE_LEN = 256
|
||||
if sign == 'rsa4096':
|
||||
if WOLFBOOT_HEADER_SIZE < 512:
|
||||
if WOLFBOOT_HEADER_SIZE < 1024:
|
||||
WOLFBOOT_HEADER_SIZE = 1024
|
||||
HDR_SIGNATURE_LEN = 512
|
||||
|
||||
|
|
Loading…
Reference in New Issue