1
0
mirror of https://github.com/GOSTSec/vanitygen synced 2025-02-07 04:14:15 +00:00

Fix a typo in dumpbn().

This commit is contained in:
samr7 2011-08-21 15:48:35 -07:00
parent d0dbe37a3b
commit 0f09377510

2
util.c
View File

@ -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);
}