summaryrefslogtreecommitdiffstats
path: root/util/perl/TLSProxy/Certificate.pm
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2019-01-04 16:55:15 +0000
committerMatt Caswell <matt@openssl.org>2019-01-07 09:39:10 +0000
commit9effc496ad8a9b0ec737c69cc0fddf610a045ea4 (patch)
tree313a9b0b35c3e2961a8fb482bf28d7325da65933 /util/perl/TLSProxy/Certificate.pm
parent23fed8ba0ec895e1b2a089cae380697f15170afc (diff)
Add a test for correct handling of the cryptopro bug extension
This was complicated by the fact that we were using this extension for our duplicate extension handling tests. In order to add tests for cryptopro bug the duplicate extension handling tests needed to change first. Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/7984)
Diffstat (limited to 'util/perl/TLSProxy/Certificate.pm')
-rw-r--r--util/perl/TLSProxy/Certificate.pm5
1 files changed, 0 insertions, 5 deletions
diff --git a/util/perl/TLSProxy/Certificate.pm b/util/perl/TLSProxy/Certificate.pm
index 70c9faea72..03f6619954 100644
--- a/util/perl/TLSProxy/Certificate.pm
+++ b/util/perl/TLSProxy/Certificate.pm
@@ -138,11 +138,6 @@ sub set_message_contents
$extensions .= pack("n", $key);
$extensions .= pack("n", length($extdata));
$extensions .= $extdata;
- if ($key == TLSProxy::Message::EXT_DUPLICATE_EXTENSION) {
- $extensions .= pack("n", $key);
- $extensions .= pack("n", length($extdata));
- $extensions .= $extdata;
- }
}
$data = pack('C', length($self->context()));
$data .= $self->context;