Browse Source

Fix a typo in dumpbn().

master
samr7 13 years ago
parent
commit
0f09377510
  1. 2
      util.c

2
util.c

@ -74,7 +74,7 @@ fdumpbn(FILE *fp, const BIGNUM *bn) @@ -74,7 +74,7 @@ fdumpbn(FILE *fp, const BIGNUM *bn)
{
char *buf;
buf = BN_bn2hex(bn);
fprintf(stderr, "%s\n", buf ? buf : "0");
fprintf(fp, "%s\n", buf ? buf : "0");
if (buf)
OPENSSL_free(buf);
}

Loading…
Cancel
Save