Remove unreachable code.
This is a remnant from just before https://boringssl-review.googlesource.com/23074. Change-Id: I3fded6107ac59f1129d040837da0c7cd109e7564 Reviewed-on: https://boringssl-review.googlesource.com/c/33106 Reviewed-by: Adam Langley <agl@google.com> Commit-Queue: David Benjamin <davidben@google.com> CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
This commit is contained in:
parent
2745ef9082
commit
4508745861
@ -74,15 +74,7 @@ int ECDSA_sign(int type, const uint8_t *digest, size_t digest_len, uint8_t *sig,
|
||||
}
|
||||
|
||||
int ret = 0;
|
||||
ECDSA_SIG *s = NULL;
|
||||
|
||||
if (eckey->ecdsa_meth && eckey->ecdsa_meth->sign) {
|
||||
OPENSSL_PUT_ERROR(ECDSA, ECDSA_R_NOT_IMPLEMENTED);
|
||||
*sig_len = 0;
|
||||
goto err;
|
||||
}
|
||||
|
||||
s = ECDSA_do_sign(digest, digest_len, eckey);
|
||||
ECDSA_SIG *s = ECDSA_do_sign(digest, digest_len, eckey);
|
||||
if (s == NULL) {
|
||||
*sig_len = 0;
|
||||
goto err;
|
||||
|
Loading…
Reference in New Issue
Block a user