asn1: Remove useless assignment
authorTobias Brunner <tobias@strongswan.org>
Mon, 17 Sep 2018 14:07:59 +0000 (16:07 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 17 Sep 2018 16:51:41 +0000 (18:51 +0200)
src/libstrongswan/asn1/asn1.c

index 79cb17e..aa649e9 100644 (file)
@@ -825,7 +825,6 @@ chunk_t asn1_simple_object(asn1_t tag, chunk_t content)
 
        u_char *pos = asn1_build_object(&object, tag, content.len);
        memcpy(pos, content.ptr, content.len);
-       pos += content.len;
 
        return object;
 }