projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add ASN1_STRING_get0_data(), deprecate ASN1_STRING_data().
[openssl.git]
/
crypto
/
ct
/
ct_prn.c
diff --git
a/crypto/ct/ct_prn.c
b/crypto/ct/ct_prn.c
index 2786746997b364b5741493ba4e0ba4b9337c5d9b..376e04523e5726b4fc42d2945a8785dbbfc48c1c 100644
(file)
--- a/
crypto/ct/ct_prn.c
+++ b/
crypto/ct/ct_prn.c
@@
-41,7
+41,7
@@
static void timestamp_print(uint64_t timestamp, BIO *out)
* characters long with a final Z. Update it with fractional seconds.
*/
BIO_snprintf(genstr, sizeof(genstr), "%.14s.%03dZ",
* characters long with a final Z. Update it with fractional seconds.
*/
BIO_snprintf(genstr, sizeof(genstr), "%.14s.%03dZ",
- ASN1_STRING_data(gen), (unsigned int)(timestamp % 1000));
+ ASN1_STRING_
get0_
data(gen), (unsigned int)(timestamp % 1000));
if (ASN1_GENERALIZEDTIME_set_string(gen, genstr))
ASN1_GENERALIZEDTIME_print(out, gen);
ASN1_GENERALIZEDTIME_free(gen);
if (ASN1_GENERALIZEDTIME_set_string(gen, genstr))
ASN1_GENERALIZEDTIME_print(out, gen);
ASN1_GENERALIZEDTIME_free(gen);