crypto/x509/x509_vpm.c: Simplify int_x509_param_set1()
authorKurt Cancemi <kurt@x64architecture.com>
Thu, 26 May 2016 20:38:31 +0000 (16:38 -0400)
committerMatt Caswell <matt@openssl.org>
Wed, 8 Jun 2016 14:30:03 +0000 (15:30 +0100)
commit01d0e241dc4184a5a1f222f8eccdad11da12305a
tree767c5e1b25946fb6bb43cc1d17df9bdedf091fba
parente2bb9b9bf355792d89e131518cc0fd141d46ca5c
crypto/x509/x509_vpm.c: Simplify int_x509_param_set1()

This change also avoids calling strlen twice when srclen is 0

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
crypto/x509/x509_vpm.c