{
int n = bytes * 2, i;
char *p = out, *q = NULL;
+ const char *r;
if (bn != NULL && !BN_is_zero(bn)) {
hex_convert_memory(in, bytes, out, BN_OUTPUT_SIZE);
}
*p = '\0';
if (bn == NULL)
- q = "NULL";
+ r = "NULL";
else
- q = BN_is_negative(bn) ? "-0" : "0";
- strcpy(p - strlen(q), q);
+ r = BN_is_negative(bn) ? "-0" : "0";
+ strcpy(p - strlen(r), r);
return 0;
}