mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-05 21:50:49 +02:00
remove dead code in MakeSignature()
This commit is contained in:
+1
-5
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user