aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/asn1
diff options
context:
space:
mode:
authorNuno Goncalves <[email protected]>2017-02-25 12:27:20 +0100
committerNuno Goncalves <[email protected]>2017-02-25 12:28:37 +0100
commit464504acd3ff0ce80ac2f8d6cabd97665d50f258 (patch)
tree7f3ad244a35e3970dcfb28c767cce157fbc20557 /src/lib/asn1
parent2142cf8de355a2c442922e02696ee8e26449f5e6 (diff)
Remove verify_end() chained immediatly before end_cons() (close #890)
BER_Decoder::end_cons() allready assures the verify_end() function, so it is redundant. Signed-off-by: Nuno Goncalves <[email protected]>
Diffstat (limited to 'src/lib/asn1')
-rw-r--r--src/lib/asn1/x509_dn.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/asn1/x509_dn.cpp b/src/lib/asn1/x509_dn.cpp
index e5cd2b8cc..a7ceeef4c 100644
--- a/src/lib/asn1/x509_dn.cpp
+++ b/src/lib/asn1/x509_dn.cpp
@@ -269,7 +269,6 @@ void X509_DN::decode_from(BER_Decoder& source)
rdn.start_cons(SEQUENCE)
.decode(oid)
.decode(str)
- .verify_end()
.end_cons();
add_attribute(oid, str.value());