out_str
free(out_str);
char *out_str = NULL;
if ((out_str = BN_bn2hex(bn)) == NULL)
if (strcmp(out_str, "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF") != 0) {
fprintf(stderr, "FAIL: got 0x%s, want 0x%s\n", out_str,
free(out_str);
if ((out_str = BN_bn2hex(bn)) == NULL)
if (strcmp(out_str, "7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF") != 0) {
fprintf(stderr, "FAIL: got 0x%s, want 0x%s\n", out_str,
free(out_str);
if ((out_str = BN_bn2hex(bn)) == NULL)
if (strcmp(out_str, "01FFFFFFFFFFFFFFFF") != 0) {
fprintf(stderr, "FAIL: got 0x%s, want 0x%s\n", out_str,
free(out_str);
char *out_str = NULL;
if ((out_str = BN_bn2hex(bn)) == NULL)
if (strcmp(out_str, "55555555555555555555555555555555") != 0) {
fprintf(stderr, "FAIL: got 0x%s, want 0x%s\n", out_str,
free(out_str);
char *out_str = NULL;
if ((out_str = BN_bn2hex(bn)) == NULL)
if (strcmp(out_str, "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA") != 0) {
fprintf(stderr, "FAIL: got 0x%s, want 0x%s\n", out_str,
char *out_str = NULL;
free(out_str);
if ((out_str = BN_bn2dec(bn)) == NULL) {
if (strcmp(out_str, bct->dec) != 0) {
"'%s', want '%s'", i, out_str, bct->dec);
free(out_str);
if ((out_str = BN_bn2hex(bn)) == NULL) {
if (strcmp(out_str, bct->hex) != 0) {
"'%s', want '%s'", i, out_str, bct->hex);
free(out_str);
void yyset_out (FILE * out_str );
void yyset_out (FILE * out_str )
yyout = out_str ;
out_str ("static yyconst %s *yy_nxt =0;\n",
extern void out_str PROTO ((const char *, const char *));
out_str(fmt, arg);
out_str("for ( yyl = %s; yyl < yyleng; ++yyl )\n",
out_str("case YY_STATE_EOF(%s):\n", scname[i]);
out_str("\n#define YY_DECL int %s::yylex()\n",
out_str("/* %s */\\\n", buf);
out_str("/* %s */\n", buf);
out_str("/*(state = (%s) */", do_copy ? "true" : "false");
out_str("%s\n", buf[strlen(buf) - 1] == '\\' ? "\\" : "");
out_str("/*(state = (%s) */", do_copy ? "true" : "false");
out_str("%s\n", buf[strlen(buf) - 1] == '\\' ? "\\" : "");
out_str("#define YYTABLES_NAME \"%s\"\n",