Use the proper fonst cast
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
This commit is contained in:
parent
82f518acee
commit
8343229bc4
1 changed files with 1 additions and 1 deletions
|
@ -420,7 +420,7 @@ int test_BN_abs_eq_word(const char *file, int line, const char *bns,
|
|||
|
||||
static const char *print_time(const ASN1_TIME *t)
|
||||
{
|
||||
return t == NULL ? "<null>" : (char *)ASN1_STRING_get0_data(t);
|
||||
return t == NULL ? "<null>" : (const char *)ASN1_STRING_get0_data(t);
|
||||
}
|
||||
|
||||
#define DEFINE_TIME_T_COMPARISON(opname, op) \
|
||||
|
|
Loading…
Reference in a new issue