aboutsummaryrefslogtreecommitdiff
path: root/ecdsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'ecdsa.c')
-rw-r--r--ecdsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ecdsa.c b/ecdsa.c
index 3fc1462..27c4c2e 100644
--- a/ecdsa.c
+++ b/ecdsa.c
@@ -1315,7 +1315,7 @@ hal_error_t hal_ecdsa_private_key_to_der(const hal_ecdsa_key_t * const key,
NULL, hlen + vlen,
NULL, der_len, der_max)) != HAL_OK)
return err;
-
+
if (der == NULL)
return HAL_OK;