Remove duplicate code.
authorDr. Stephen Henson <steve@openssl.org>
Sat, 28 Mar 2015 15:10:54 +0000 (15:10 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 30 Mar 2015 21:01:31 +0000 (22:01 +0100)
commite93c8748ab40d876285147e3112c7a520d68880e
tree189c788dcf2e364274cfd87c6b7c883836ac5bc2
parent22f5bd3dd2a660f6f50ef86de78985b995c63a85
Remove duplicate code.

Update code to use ASN1_TYPE_pack_sequence and ASN1_TYPE_unpack_sequence
instead of performing the same operation manually.

Reviewed-by: Rich Salz <rsalz@openssl.org>
crypto/asn1/p5_pbev2.c
crypto/cms/cms_pwri.c
crypto/evp/p5_crpt.c
crypto/evp/p5_crpt2.c
crypto/pkcs12/p12_crpt.c
crypto/pkcs12/p12_npas.c
crypto/rsa/rsa_ameth.c