remove dead code in MakeSignature()

This commit is contained in:
Ruby Martin
2026-02-18 15:33:41 -07:00
parent 0c19fb17d6
commit 00c773e1b5
+1 -5
View File
@@ -32270,14 +32270,10 @@ static int MakeSignature(CertSignCtx* certSignCtx, const byte* buf, word32 sz,
signCtx.key = rsaKey;
signCtx.keyType = RSA_TYPE;
}
else if (eccKey) {
else {
signCtx.key = eccKey;
signCtx.keyType = ECC_TYPE;
}
else {
ret = BAD_FUNC_ARG;
goto exit_ms;
}
/* Use unified callback path */
ret = MakeSignatureCb(certSignCtx, buf, sz, sig, sigSz,