diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-10-01 20:42:52 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-10-01 20:42:52 +0000 |
commit | 4cc2bbab6758b73e005d69cb454cb9ba269859df (patch) | |
tree | 6c3d6059670677b55dd7756b1b24840880d20088 /fips/ecdsa | |
parent | 04c3aa5c1ab4244293ca60f6aeabb431e8b44cbe (diff) |
Make fips algorithm test utilities use RESP_EOL for end of line character(s).
This should be CRLF even under *nix.
Diffstat (limited to 'fips/ecdsa')
-rw-r--r-- | fips/ecdsa/fips_ecdsavs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fips/ecdsa/fips_ecdsavs.c b/fips/ecdsa/fips_ecdsavs.c index 4cf536cee8..898951a2c8 100644 --- a/fips/ecdsa/fips_ecdsavs.c +++ b/fips/ecdsa/fips_ecdsavs.c @@ -234,7 +234,7 @@ static int KeyPair(FILE *in, FILE *out) do_bn_print_name(out, "d", d); do_bn_print_name(out, "Qx", Qx); do_bn_print_name(out, "Qy", Qy); - fputs("\n", out); + fputs(RESP_EOL, out); EC_KEY_free(key); } @@ -287,7 +287,7 @@ static int PKV(FILE *in, FILE *out) no_err = 1; rv = EC_KEY_set_public_key_affine_coordinates(key, Qx, Qy); no_err = 0; - fprintf(out, "Result = %s\n", rv ? "P":"F"); + fprintf(out, "Result = %s" RESP_EOL, rv ? "P":"F"); } } @@ -453,7 +453,7 @@ static int SigVer(FILE *in, FILE *out) rv = FIPS_ecdsa_verify_ctx(key, &mctx, sig); no_err = 0; - fprintf(out, "Result = %s\n", rv ? "P":"F"); + fprintf(out, "Result = %s" RESP_EOL, rv ? "P":"F"); } } |