Replace ASN1_GENERALIZEDTIME_adj(), ASN1_UTCTIME_adj() and
authormiod <miod@openbsd.org>
Thu, 15 May 2014 21:06:10 +0000 (21:06 +0000)
committermiod <miod@openbsd.org>
Thu, 15 May 2014 21:06:10 +0000 (21:06 +0000)
commitc992fba3db033361472a235146e93729fd6f7f99
treefb09d8ca75c719cee53a161ecf50b30aa026703f
parentd967b8e37621b096e4ee82dea6af8ad55355ea8e
Replace ASN1_GENERALIZEDTIME_adj(), ASN1_UTCTIME_adj() and
ASN1_TIME_to_generalizedtime() with wrappers around their former
implementations, making sure memory allocated is freed in all failure cases.

help and ok from beck@ and Brendan MacDonell.
lib/libcrypto/asn1/a_gentm.c
lib/libcrypto/asn1/a_time.c
lib/libcrypto/asn1/a_utctm.c
lib/libssl/src/crypto/asn1/a_gentm.c
lib/libssl/src/crypto/asn1/a_time.c
lib/libssl/src/crypto/asn1/a_utctm.c