clarify the size of a generalizedTime

This commit is contained in:
Pierangelo Masarati 2003-05-19 21:10:49 +00:00
parent 60fc6860d2
commit 074f54f300

View file

@ -2155,7 +2155,7 @@ generalizedTimeNormalize(
return rc;
}
normalized->bv_val = sl_malloc( 16, ctx );
normalized->bv_val = sl_malloc( sizeof("YYYYmmddHHMMSSZ"), ctx );
if ( normalized->bv_val == NULL ) {
return LBER_ERROR_MEMORY;
}