Fix ASN1_TIME_to_generalizedtime to take a const ASN1_TIME
authorMatt Caswell <matt@openssl.org>
Tue, 2 May 2017 10:08:33 +0000 (11:08 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 19 May 2017 08:01:07 +0000 (09:01 +0100)
commitc231202e10a078fc52cd51301553a1a09a957f8f
tree73b855c279873051af13e0892e68bb8f4cbce53a
parente68f0ea8d3c87a018646ac652b57a18da41cfbf6
Fix ASN1_TIME_to_generalizedtime to take a const ASN1_TIME

Fixes #1526

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3360)
(cherry picked from commit 9bfeeef8ee2220339e601a028fa991c30d296ed4)
crypto/asn1/a_time.c
include/openssl/asn1.h