diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2016-08-17 12:34:22 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2016-08-17 12:34:22 +0100 |
commit | a0754084f82cf1cd0c8629d61f779bb6a6c6b1a6 (patch) | |
tree | e1287c54eeea701518d4f18c87dc2ffc106b07db /apps/x509.c | |
parent | 79613ea8442a309b76a737eacb2a69f612cc5f06 (diff) | |
download | openssl-a0754084f82cf1cd0c8629d61f779bb6a6c6b1a6.tar.gz |
Corrupt signature in place.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'apps/x509.c')
-rw-r--r-- | apps/x509.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/x509.c b/apps/x509.c index 23265b229e..27a928c103 100644 --- a/apps/x509.c +++ b/apps/x509.c @@ -606,8 +606,7 @@ int x509_main(int argc, char **argv) if (badsig) { ASN1_BIT_STRING *signature; X509_get0_signature(&signature, NULL, x); - if (!corrupt_signature(signature)) - goto end; + corrupt_signature(signature); } if (num) { |